Hi everyone, I am trying using HtmlUnit for parsing and checking a GoogleCodeSearch's Url, for example Url = "http://google.com/codesearch/p?hl=en#BDMVBjMQ9dM/developer/ technicalArticles/jini/javaspaces/HelloWorld.zip|0GBefwhg-XQ/ HelloWorld.java&q=HelloWorld%20lang:java"
But I could not get the content as that is displaying on the Web. In the data (page.asXml) that HtmlUnit returned, I could not find where content of file HelloWorld.java is. This is my code: final WebClient webClient = new WebClient(); webClient.setJavaScriptEnabled(true); final HtmlPage page = webClient.getPage(Url); webClient.waitForBackgroundJavaScriptStartingBefore(10000) System.out.println(page.asXml); I think HtmlUnit can not run some JavaScripts on the GoogleCodeSearch Webpages which use GWT for create scripts. It is right? Please show me some solution for this situation! Thanks much! Regards, Dai Phan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.