Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Accessing DOM elements in QWebEnginePage

    General and Desktop
    3
    3
    1506
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Cesius last edited by

      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?

      Thanks

      1 Reply Last reply Reply Quote 0
      • B
        bog2k3 last edited by

        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.

        raven-worx 1 Reply Last reply Reply Quote 0
        • raven-worx
          raven-worx Moderators @bog2k3 last edited by

          @bog2k3
          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++.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply Reply Quote 1
          • First post
            Last post