From: Roberto B. - A. <r.b...@af...> - 2015-08-24 13:11:51
|
Hi Ahmed, thanks for your kindness.. unfortunately the page a want to read is on a website that i cannot modify (http://www.hapag-lloyd.com/).. Maybe, each time a call the page (https://www.hapag-lloyd.com/en/tracing/by_container.html) they send me javascript that the browser interprets and changes the document DOM (as do the real browsers). I tried also another way with Selenium + HtmlUnit Driver with no success, while with Selenium + FireFox Driver is everything ok. Just to know.. do you see the same javascript code? Roberto ----- Original Message ----- From: Ahmed Ashour To: htm...@li... Sent: Monday, August 24, 2015 2:46 PM Subject: Re: [Htmlunit-user] ScriptException: Exceeded maximum stack depth Hi Roberto, As you can see, there is no ScriptException related to the 'stack depth'. I guess your issue is that the content is not similar to real browser. Please isolate a case as hinted in http://htmlunit.sourceforge.net/submittingJSBugs.html Ahmed From: Roberto Bottoni - AfterBit <r.b...@af...> To: htm...@li... Sent: Monday, August 24, 2015 12:47 PM Subject: Re: [Htmlunit-user] ScriptException: Exceeded maximum stack depth Hi Ahmed, I have attached java source code for testing and the output (output.txt) I get. (with HtmlUnit 2.19-SNAPSHOT and JDK 1.7u80) Roberto. ----- Original Message ----- From: Ahmed Ashour To: htm...@li... Sent: Monday, August 24, 2015 12:15 PM Subject: Re: [Htmlunit-user] ScriptException: Exceeded maximum stack depth Hi Roberto, The minimal code to reproduce the issue. Please also read http://htmlunit.sourceforge.net/submittingJSBugs.html Ahmed From: Roberto Bottoni - AfterBit <r.b...@af...> To: htm...@li... Sent: Monday, August 24, 2015 11:47 AM Subject: Re: [Htmlunit-user] ScriptException: Exceeded maximum stack depth Hi Ahmed, should I provide a full source code and the full javascript code retrieved (by email)? Roberto. ------------------------------------------------------------------------------ _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user ------------------------------------------------------------------------------ _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user ------------------------------------------------------------------------------ _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |