Does WebKit expose an API for working directly with its DOM? I’m looking for a class like HtmlElement that can be used to build/traverse trees of HTML content.
I’m trying to host WebKit as a web browser control in a desktop application, and would prefer a direct API rather than going through COM. Thanks!
Thanks!
Using QT/WebKit (at least version 4.6) it’s now possible to access the DOM of the loaded document.
QtWebKit Module reference
DOM Traversal Example