htmlunit
HtmlUnit's HtmlPage.getElementById seems to reinitialize JavaScript after many calls
I have a simple HTML page (ratings.html) that I\'m trying to test using HtmlUnit. The action that I\'m testing works when I load it up in a browser and do it by hand. However, when I try to test it wi[详细]
2023-03-13 18:32 分类:问答How to run Google Apps script from HtmlUnit?
I have a link in a Google Sites page that runs a Google Apps script. It works fine when I manually click the link in Firefox.[详细]
2023-03-11 01:51 分类:问答HTMLUnit webClient.getPage(locationToPing) is blocked when the jar is invoked from Runtime.exec()
I am writing an application that needs to load a jar periodically. The Jar fetches the content of a website making use of HTMLUnit.When this jar is run from commond prompt it runs as expected. But whe[详细]
2023-03-10 21:33 分类:问答Is there a way to tell HtmlUnit to grab all the dependancies
I\'m using HtmlUnit for web testing and it is great. But I also want to test the download time for the total page including linked images, javascript and CSS pages as well as ensure the links are vali[详细]
2023-03-09 18:23 分类:问答How to create HtmlUnit HTMLPage object from String?
This question was asked once already, but the API changed I guess and the answers are no valid anymore.[详细]
2023-03-08 17:27 分类:问答Select default namespace in XPath with HtmlUnit
I want to parse a Feedburner feed with HtmlUnit. The feed is this one: http://feeds.feedburner.com/alcoanewsreleases[详细]
2023-03-07 21:05 分类:问答Getting href from parent anchor HtmlUnit
What I am trying to do is to use HtmlUnit to get the href from the parent anchor of a span. Here is what I mean.[详细]
2023-03-05 23:23 分类:问答HtmlUnit to view source
HtmlUnit for Java is great but I haven\'t been able to figure out how to view the full source or retu开发者_C百科rn the source of a web site as a string. can anyone help me with this?[详细]
2023-03-05 14:04 分类:问答How to make HtmlUnit's WebClient accelerate execution of javascript to be triggered by window.setTimeout?
I am using the Java library 开发者_如何学GoHtmlUnit to create a regression test suite for a web app.[详细]
2023-03-04 04:26 分类:问答Limiting bandwidth in htmlunit
I\'m using htmlunit to make some tests but I don\'t want them to use all my available bandwidth. How can I set a limit on upload/download speed?[详细]
2023-02-28 05:51 分类:问答