Example HtmlUnit Test Failing
问题 I am trying to run the sample HtmlUnit test case via Junit. My project is Maven based. Do I need to add ALL the depdencies listen under compile and test to my POM? http://htmlunit.sourceforge.net/dependencies.html Right now I have added the htmlunit dependencies, httpconnections and nekohtml. Sample test: @Test public void homePage() throws Exception { WebClient webClient = new WebClient(BrowserVersion.CHROME_16); final HtmlPage page = webClient.getPage("http://htmlunit.sourceforge.net");