title: How to send aQMouseEvent to QWebEngineView?
body: <p>Context: I'm creating a web browser. I need to send mouse events to the web page.</p>
  
  <p>It was working with Qt WebKit, but now some sites doesn't work with QT WebKit. So, I need to move my web brouser to Qt WebEngine. 
  But my old solution for QMouseEvent don't work.</p>
  
  <p>Solution for QWebView:</p>
  
  <pre><code>void MainWindow::simClick(int x, int y) {
  
      QMouseEvent pressEvent(QEvent::MouseButtonPress, QPoint(x, y), Qt::LeftButton,
                                 Qt::LeftButton, Qt::NoModifier);
      QCoreApplication::sendEvent(ui-&gt;webView, &amp;pressEvent);
  
  
      QMouseEvent releaseEvent(QEvent::MouseButtonRelease, QPoint(x, y), Qt::LeftButton,
                                 Qt::LeftButton, Qt::NoModifier);
      QCoreApplication::sendEvent(ui-&gt;webView, &amp;releaseEvent);
  }
  </code></pre>
  
  <p>This problem can be solved by using JavaScript, but I need exactly QMouseEvent.</p>
  
  <p>How to send mouse events to the QWenEnginePage?</p>