From: EricWong <ykw...@ya...> - 2017-07-11 09:25:11
|
Thanks for your information. The problem is solved. My program already included this line of code before: webClient.setAjaxController(new NicelyResynchronizingAjaxController()); Per advise by you, I focus on this line. I commented it out //webClient.setAjaxController(new NicelyResynchronizingAjaxController()); and the complete html page can be loaded successfully. In your program, you determine whether to use it by: if(ajaxSynchrone) ... May you say a little about how to determine whether "ajaxSynchrone" is true or false? -- View this message in context: http://htmlunit.10904.n7.nabble.com/Failing-to-load-the-complete-html-content-of-a-page-with-ajax-tp42303p42310.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |