From: François D. <fdu...@ez...> - 2014-02-14 15:30:59
|
Hi, I want to check some webpages for a specific request to be thrown. I can’t change the source code of this pages because those are not mines but my partners ones. On some of them, there’s errors that interrupt the script. Even with WebClient webClient = new WebClient(BrowserVersion.CHROME); webClient.getOptions().setThrowExceptionOnFailingStatusCode(false); webClient.getOptions().setThrowExceptionOnScriptError(false); webClient.getOptions().setPrintContentOnFailingStatusCode(false); I have stack traces in logs and com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine handleJavaScriptException What can I do ? Thanks |