Accessing DOM elements in QWebEnginePage

  • Hi everyone,

    I'm porting from QWebKit to QWebEngine and I've realized that there is no QWebElement equivalent class for the new engine.

    Is there any work around for accesing DOM elements?


  • so, 10 months later, nobody bothered answering this...
    I'm having the same problem, porting from QWebKit to QWebEngine and don't know how to access the damn DOM.

  • Moderators

    In QtWebEngine this is only possible using QtWebChannel and access the DOM directly in JavaScript. Then pass the desired info via the web channel to C++.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.