From: Robert S. <rse...@gm...> - 2011-09-16 03:40:07
|
I'm trying to get the raw html without having the webClient do any parsing. Only if the raw HTML passes some checks that I will do manually do I want the parsing to happen. Is it possible? Is this the right way to do it? final HtmlPage page = webClient.getPage( myURLstring ); final String pageString = page.getWebResponse().getContentAsString(); More specifically, does the first instance of a command like page.getByXPath cause the parsing to happen, or is it done immediately in the getPage call? Thank you. |