Hello!
testHomePage!
TitleText:°??????????ò×??ó???????÷????
Hello!
testSearch!
2005-1-19 14:37:48 com.gargoylesoftware.htmlunit.html.HtmlPage loadJavaScriptFromUrl
警告: Expected content type of text/javascript or application/x-javascript for remotely loaded javascript element http://post.baidu.com/f?ct=301989888&tn=baiduForumSearch1&rn=10&pn=0&word=Toshiba but got [text/html]
TitleText:°??????÷_Toshiba
Found row
Found cell:
Found cell: 找toshiba上淘宝网淘宝
Found cell: 找toshiba信息在阿里巴巴
Found cell: 找toshiba信息在搜捕网
Found cell: 找toshiba相关项目
webClient = new WebClient();
final URL url = new URL("http://www.baidu.com");
System.out.println("Hello!");
homePage = (HtmlPage)webClient.getPage(url);
assertNotNull(homePage);