From: Martin S. <mar...@bi...> - 2015-08-15 11:39:32
|
Hi Ronald, Many thanks for your fast response! I have tried your hints but it is still not working. I switched to using FF38. I've set: webClient.getOptions().setThrowExceptionOnScriptError(true); webClient.getOptions().setThrowExceptionOnFailingStatusCode(true); webClient.setAjaxController(new NicelyResynchronizingAjaxController()); but get no exceptions. I also tried this to detect if the web page changes at some delayed time after clicking , but it never does. The web page before and after clicking is always one and the same (can this be right?) and the wait loop never ends: WebWindow window = webpage.getEnclosingWindow(); clickElement(nextButton); while (window.getEnclosedPage() == webpage) { Thread.sleep(1000); } // Never comes out of this loop! newWebpage = window.getEnclosedPage(); Can you tell me how to switch logging on to get the diagnostics that would show what is happening? Anything else I can try to get it to work? Thanks, Martin -- _____________________________________________________ Dr Martin Strange 20 The Boulevard, Bellevue Heights SA 5050, Australia Ph/fax: +61 8 8278 3953 Mob: 0431 691071 Email: mar...@bi... |