How can I get the widget from a QWebElement?
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?
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
You may want to use this instead: https://github.com/cisco-open-source/qtwebdriver