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
Try using this addOn for firefox, it records your actions and generates the HTMLUnit code for the same. may be it could help.
http://code.google.com/p/htmlunitscripter/