Determine the position of an HTML element using jsoup

I am parsing an HTML page using jsoup. Is there a way to determine the position on the page of each element relative to the top of the page using jsoup?

+4
source share
1 answer

No, because Jsoup only parses HTML. You will need something to take into account CSS and JavaScript - depending on what you are doing, look at Selenium , Cobra or PhantomJS .

0
source

All Articles