I am working on some project where in i need scrap some information from different website.I am using HtmlUnit
for this purpose,But problem is i am unable to traverse through the elements on one page.
Example:
<div id="some_id">
<div>
<div>
<div>
......
many divs in between
......
<div id="my_target_div"> some information </div>
........
........
</div>
Now how get div
with id my_target_div
and information inside that div