From: adam <sh...@qq...> - 2015-05-21 12:42:56
|
i can't access lazyload part.i am nearly crazy. below is my code: WebClient webClient = new WebClient(BrowserVersion.INTERNET_EXPLORER_11); webClient.getOptions().setCssEnabled(false); webClient.getOptions().setJavaScriptEnabled(true); webClient.setJavaScriptTimeout(99999); webClient.waitForBackgroundJavaScript(99999); webClient.setAjaxController(new NicelyResynchronizingAjaxController()); HtmlPage productPage = (HtmlPage) webClient.getPage("http://detail.1688.com/offer/1228752603.html"); -- View this message in context: http://htmlunit.10904.n7.nabble.com/How-to-handle-lazyload-page-with-htmlunit-tp36142.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |