htmlunit
Converting Jython htmlunit script to pure Java
I have a script for Jython that works perfectly, but it开发者_StackOverflow社区\'s really really slow, so I decided to try to see if I can convert it to pure java and see if it speeds it up.[详细]
2023-02-28 04:01 分类:问答Problems with Xalan using XPATH (unclosed tags)
Greetings, I\'m facing a problem with the following tech-stack: JWebUnit -> HtmlUnit -> Xalan. I\'m trying to find an element by XPATH, but the HTML document is pretty malformed.[详细]
2023-02-23 19:02 分类:问答virtual web browser submit using HtmlUnit + Java
I\'m trying to sign in to yahoo.com using HtmlUnit. But it doesn\'t work when my program trying to click \"Sign In\" button. My code is:[详细]
2023-02-23 07:49 分类:问答HTMLUnit doesn't wait for Javascript
I have a GWT based page that I would like to create an HTML snapshot for it using HtmlUnit. The page loads using Ajax/JavaScript information on a product, so for about 1 second there is a Loading... m[详细]
2023-02-22 11:13 分类:问答Is it possible to use Ruby (not jRuby) frontend of the Selenium 2 (WebDriver) with HtmlUnit backend?
I want to use WebDriver on a server-side, without any browser or gui. It is possible with HtmlUnitDriver in a Java bindigns开发者_如何学Go for WebDriver. But I like ruby more than java. Can I solve my[详细]
2023-02-21 12:30 分类:问答Using HTMLUnit on a webpage generated by a servlet
How could I use HTMLUnit to get data from a webpage generated by a java servlet. I keep getting an error when I try to read the webpage. /getSurvey is the servlet that creates the webpage but how ca开[详细]
2023-02-19 15:14 分类:问答How reliable is HtmlUnitDriver?
Obviously, the answer to the question depends on a number of environmental factors. In general, I\'m wondering what people\'s experiences are with HtmlUnitDriver as a reliable tool that can be \"trus[详细]
2023-02-17 18:34 分类:问答Why doesn't HTMLunit work on this https webpage?
I\'m trying to learn more about HTMLunit and doing some tests at the moment. I am trying to get basic information such as page title and text from this site:[详细]
2023-02-17 14:01 分类:问答Java HtmlUnit onchange event not fired
I use HtmlUnit to fill form. I have a select SELECT_A. After selecting option the additional elements must appe开发者_如何学Pythonar in the page. But it\'s not working! I simulate Firefox 3.6.[详细]
2023-02-17 08:49 分类:问答htmlunit java change input text
I use htmlunit. How i can set value of text input if it does not have an attribute \'value\' ? <input type=\"text\" onkeypress=\"test();\" id=\"id\" name=\"name\" class=\"ttt\">[详细]
2023-02-15 20:28 分类:问答