I\'m working on an application that will automatically click a button on a webpage using htmlunit in Java. Only problem is that that button is a javascript button, so the st
There's nothing special about clickable images. Something like this should work:
button = page.getHtmlElementById( "1537385" ) ;
page = button.click() ;
HtmlUnit will then run the Javascript and return the updated page.
If the id attribute of the 'a' tag isn't constant, you may need to use XPath to grab it.