Sorry, I must add a precision. gotoRootWindow() was used for 2 usages: - return to top level window after usage of gotoFrame (currently it only works by chance when there is only one open window)
- return to "root window" after usage of gotoWindowXX. Here rootWindow was in fact the first window in the htmlunit internal list of window This is the second use case I want to deprecate. So I propose to keep the method gotoRootWindow, but I will update the HtmlUnit implementation to only do the first use case (and fix it at the same time). WDYT? Regards Julien >________________________________ >De : Julien HENRY <henr...@yahoo.fr> >À : "jwebunit-users@lists.sourceforge.net" ><jwebunit-users@lists.sourceforge.net> >Envoyé le : Lundi 19 Septembre 2011 16h09 >Objet : [JWebUnit-users] Deprecate gotoWindow(int windowID) and >gotoRootWindow() > > >Hi JWebUnit users, > > >I would like to deprecated gotoWindow(int windowID) and gotoRootWindow(). >These 2 methods are not portable to other testing engines (like Selenium) >before they rely on HtmlUnit specific internals. I did some search and it >seems "window ID" and "root window" is not something that is specified in HTML. > > >My guess is that it was introduced to give access to windows without name nor >title. Is it still something we need in 2011? > > >Please tell me if you see any valid use case for theses methods. If nobody has >concerns, theses methods will be deprecated in next release and not >implemented in Selenium/WebDriver backend. > > >Regards, > > >Julien >------------------------------------------------------------------------------ >BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >Learn about the latest advances in developing for the >BlackBerry® mobile platform with sessions, labs & more. >See new tools and technologies. Register for BlackBerry® DevCon today! >http://p.sf.net/sfu/rim-devcon-copy1 >_______________________________________________ >JWebUnit-users mailing list >JWebUnit-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ JWebUnit-users mailing list JWebUnit-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-users