Trying to access the DOM page after rendering. I do not need to view the page and plan to use it programmatically without any graphical interface or interaction.
The reason I am interested in post rendering is because I want to know where the objects appear. Some location information is encoded in HTML (e.g. via offsetLeft), but a lot is wrong. In addition, Javascript can change the final positioning. I want the positions as close as possible to what the user will see as much as possible.
I looked over the Chromium code and I think there is a way to do this, but there is not enough documentation to get started.
Introducing this VERY simply would interest me with a pseudocode like this:
DOMRoot *r = new Page("http://stackoverflow.com")->getDom();
Any tips on sending points?
source share