Skip to content Skip to sidebar Skip to footer

Use Htmlunit, Doesn't Work Button Click();

Hi all :) I'm new in HtmlUnit (Java). It's my first time to use HtmlUnit stuffs. I'm having some issues to log-in to a web page. And some part of the source of the web site is belo

Solution 1:

You may try to execute the javascript manually:

   page.executeJavaScript("javascript:submitForm(document.getElementById('localLogin'), 'submit');");

Post a Comment for "Use Htmlunit, Doesn't Work Button Click();"