Accessing the DOM
Unsolved
QtWebEngine
-
Hello,
I'm trying to write a basic webspider and reviewing my options in doing so I came across Qt's QtWebEngine.
It appears that my only option for accessing the DOM is via javascript injected into the rendered page, but that appears to be one-sided in the sense that I can, e.g., highlight all links, but I have no mechanism for communicating which nodes are links from JS back to C++.
Is my understanding there correct?
-
Hi @jferguson ,
Have a look at:
https://doc.qt.io/qt-6/qwebchannel.html