From: RBRi <rb...@us...> - 2019-09-06 18:30:00
|
You can call something like page.getWebClient().getCurrentWindow().getEnclosedPage(); In fact the newPage from the result was filled like this, it was not related to the script. --- ** [bugs:#2023] no more getNewPage() in ScriptResult** **Status:** open **Group:** 2.36.0 **Created:** Wed Sep 04, 2019 05:04 PM UTC by ChristopheD **Last Updated:** Wed Sep 04, 2019 05:04 PM UTC **Owner:** nobody Hello, I am migrating from 2.31 to 2.36 and I see that in the class ScriptResult, the method getNewPage() has been removed. What is the startegy to replace getNewPage() and get the page that is loaded at the end of the script execution. Thank you for your help. Regards, Christophe --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |