I'm using HtmlUnit to load a webpage full of JavaScript. The WebClient
executes the JavaScript just fine.
However, when I click a button on a particular form that invokes an Ajax call, even though the call itself completes, the content (result) does not appear on the page (even though it does in a real browser).
Why doesn't the HtmlPage
contain the dynamically added content after I click the button?
Is there a way to get an "updated" page in HtmlUnit?