an
saurus
tags:
htmlunit
views:
140
answers:
1
Q:
HtmlUnit - dynamically loaded JavaScript not running
A:
Did you try to insert a short pause after loading the page?
nici
2010-06-08 13:52:54
I tried both pausing and adding a JavaScript handler that provides a callback for when the page is updated, and neither seemed to work. Anyway, our solution was to not load JavaScript this way and to use Selenium, which doesn't have this issue.
James Kingsbery
2010-06-08 15:12:44
related questions
Java: HtmlUnit crashes upon JavaScript error
htmlunit javascript question..
Can HtmlUnit handle JavaScript redirects?
Java: Can HmtlUnit return the JavaScript redirect URL?
How to get a Select/Options List if I don't have a Form in the DOM
How to generate multiple impressions on a hyperlink through HtmlUnit in JAVA?
Using HtmlUnit/HttpUnit under GAE
How to convert an <img... in html to byte [] in Java
Problem in HtmlUnit API for Java (Headless Browser)?
Embedding Tomcat and issuing requests to the deployed application
HtmlUnit doubts regarding cookies and windows
How to remove cookies from a headless browser provided by HtmlUnit in Java?
htmlunit cookie/refer question
In htmlunit, how can I get the request, that would be sent on clicking an element?
Can't click on a youtube AJAX link with HtmlUnit.
How to execute random Javascript code on a web page?
Using HtmlUnit, I have a HtmlTableRow, how can I get all its content as a string value?
is it possible to load a HtmlPage from a string ?
clicking on submit button using php
return all the HtmlPage's HTML
Does this xpath look correct?
How to navigate to another page after calling click?
Error in simple Java application
How to delete cookies?
Download a non html file with HtmlUnit