Hi,
Does HtmlUnit have support for the <div> tag ? The reason why I ask
this is that, I have a page that lists a bunch of anchors within a
<div> tag. Unfortunately I am not able to fetch a handle to any of the
anchors using the getAnchorByHref( String href ) method the page in
question.
Whenever I try to fetch a handle, I get an ElementNotFoundException. I
tried rendering the same html code in a browser(IE) and I could
actually see the links there. Also, something that surprised me was,
when I tried dumping the page using HtmlPage's asText(), nothing got
dumped. I presume asText() returns the page as seen in a browser.
Appreciate your help,
Best Regards
Vinay
|