<div dir="ltr"><div>Prior to 5.8 I was able to simulate a keyclick on QtWebEngineView:<br><br></div>--- 5.7.1 Output ---<br>5.7.1<br>finished<br>--- 5.8.0 Output ---<div>5.8.0<br>exception: PyQt5.QtCore.QAbstractAnimation represents a C++ abstract class and cannot be instantiated<br>---<br><br>import sys<br><br>from PyQt5.QtWebEngineWidgets import QWebEngineView <br>from PyQt5.QtWidgets import QApplication<br>from PyQt5.QtCore import QUrl<br>from PyQt5 import QtCore<br><br>app = QApplication(sys.argv)<br>qev = QWebEngineView()<br>qev.show()<br><br>print QtCore.qVersion()<br><br>def runTest():<br>    try:<br>        from PyQt5.QtTest import QTest<br>        from PyQt5.QtCore import Qt<br>        QTest.keyClick(qev, Qt.Key_Tab)<br>        print 'finished'<br>    except Exception as e:<br>        print 'exception:', e<br>    finally:<br>        exit()<br><br>qev.page().loadFinished.connect(runTest)<br>qev.load(QUrl('<a href="http://google.com">http://google.com</a>'))<br>app.exec_()<br></div></div>