Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Accessing DOM elements in QWebEnginePage
Forum Updated to NodeBB v4.3 + New Features

Accessing DOM elements in QWebEnginePage

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.9k Views 2 Watching
  • 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 Offline
    C Offline
    Cesius
    wrote on last edited by
    #1

    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
    0
    • B Offline
      B Offline
      bog2k3
      wrote on last edited by
      #2

      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-worxR 1 Reply Last reply
      0
      • B bog2k3

        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-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        @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
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved