function leftClick (node) {
	const evt = new window.MouseEvent('click', {
		bubbles: true,
		button: 0,
		buttons: 1,
		which: 1
	});
	node.dispatchEvent(evt);
}
// Emulates a left-click event on a node
Emulates a left-click event on a node
Emulates a left - click event on a node
function leftClick (node) {
	const evt = new window.MouseEvent('click', {
		bubbles: true,
		button: 0,
		buttons: 1,
		which: 1
	});
	node.dispatchEvent(evt);
}
function leftClick ( node ) { const evt = new window . MouseEvent ( 'click' , { bubbles : true , button : 0 , buttons : 1 , which : 1 } ) ; node . dispatchEvent ( evt ) ; }
Emulates a left-click event on a node
Emulates a left - click event on a node