I want to find a way to get the settings of the request that would be sent if I clicked a certain link. I want to send the request after making some开发者_高级运维 modifications. Is that possible?
Testing out the java HtmlUnit lib. Trying to figure out if there\'s a way to set/delete the cookie file (cookiejar) used by the webclient object..
I have a webpage with a submit button and I would like php to parse the webpage and click the submit button and get the response (it can be a link or another html page.)
I\'m trying to use htmlunit to click on a link in youtube. Here\'s the code: HtmlPage page = webClient.getPage(\"http://www.youtube.com\");
I have stored a webpage\'s HTML in the database. I want to take advantage of HtmlUnit\'s ability to find/reference DOM elements.
I am trying to get all the main links, then click on them开发者_开发问答 and navigation to the page:
page.getByXPath(\"//*[@href=\'http://www.example.com/index.do/abc/1_*\'\"); Do I need to escape any characters?
I\'m writing a JUnit test that inv开发者_如何学Colves the downloading of a file from the web app. How do I do that with HtmlUnit?I don\'t what kind of file, but maybe code for this test might be helpf