Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can I get the widget from a QWebElement?
Bob Asm last edited by
I'd like to use QTest::keyClicks() with a QWebElement, but as the first argument must be a QWidget, is possible to get the QWidget that the QWelement was build on top of to use with that method?
Konstantin Tokarev last edited by Konstantin Tokarev
QWebElements aren't build on top of widgets. Whole view is a single widget.
UPD: However, you can set focus to particular element and use keyClicks with webview
Konstantin Tokarev last edited by
You may want to use this instead: https://github.com/cisco-open-source/qtwebdriver