title: use io hook to move puppteer's mouse
body: <p>Is it possible to make a puppeteer's cursor hold the mouse down button (to draw or drag.) when I hold my left mouse button down? and at the same location?</p>
  
  <p>I did something using IoHook.</p>
  
  <pre><code>    ioHook.on("mouseclick", event =&gt; {
  //console.log(event.x);
  /* You get object like this
  {
    type: 'mousemove',
    x: 700,
    y: 400
  }
  */
  var x = event.x
  var y = event.y - 71
  page.mouse.click(x, y, { button: 'left' })
  });
  
  
  ioHook.on("mousemove", event =&gt; {
  //console.log(event.x);
  /* You get object like this
  {
    type: 'mousemove',
    x: 700,
    y: 400
  }
  */
  var x = event.x
  var y = event.y - 71
  page.mouse.move(x, y)
  });
  </code></pre>
  
  <p>this piece of code follows my mouse, and clicks where I click, but it doesn't hold the left mouse button down and moves where i move. So i want to pull off like a basic on mouse down follow the mouse's cursor. </p>
  
  <p>page.mouse.click(x, y, { button: 'left' }) is being used for the puppeteer's cursor.</p>