index.js
function (element) {
    var event = document.createEvent('MouseEvents');
    event.initMouseEvent('mousedown', true, true, window);
    element.dispatchEvent(event);
  }
function (element) {
    var event = document.createEvent('MouseEvents');
    event.initMouseEvent('mousedown', true, true, window);
    element.dispatchEvent(event);
  }
function ( element ) { var event = document . createEvent ( 'MouseEvents' ) ; event . initMouseEvent ( 'mousedown' , true , true , window ) ; element . dispatchEvent ( event ) ; }
click element with virtual mouse.
click element with virtual mouse .