On my page, there are 2 links with the same anchor text.
I am using HtmlUnit to get the link by the anchor text.
The call to:
page.getAnchorByText("1");
Seems to always get the first occurrance, is there a way to get the 2nd occurance if there are 2 links?