[HtmlUnit] [htmlunit:bugs] #1999 getNewPage missing from ScriptResult

RBRi via HtmlUnit-develop <[email protected]> Fri, 30 Nov 2018 18:08:46 -0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID </p/htmlunit/bugs/1999/3fed24f58e5fe17acd1b7666cc0d482a2d438044.bugs@htmlunit.p.sourceforge.net>
you can do

page.getWebClient().getCurrentWindow().getEnclosedPage()

This was the way it was calculated before. As you can see, it is in the end not related to the script execution. This was part of the reason to remove the page from the script result.


---

** [bugs:#1999] getNewPage missing from ScriptResult**

**Status:** open
**Group:** 2.33
**Created:** Thu Nov 08, 2018 07:36 PM UTC by oded mass
**Last Updated:** Thu Nov 08, 2018 07:36 PM UTC
**Owner:** nobody


ScriptResult had a method getNewPage()
in 2.33 it does not.
What is the alternative in 2.33 for somthing like:
Page newPage = page.executeJavaScript("some script").getNewPage();



---

Sent from sourceforge.net because [email protected] 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.

_______________________________________________
HtmlUnit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop