dalekjs / dalek

[unmaintained] DalekJS Base framework
MIT License
695 stars 63 forks source link

Assert windows and urls of windows opened via window.open or a[href="somewhere"][target="_blank"] #145

Open wwwsevolod opened 9 years ago

wwwsevolod commented 9 years ago

am i able do it with dalekjs? or it needs to be implemented? if second, where i need to start to implement this type of assertions? thank you

asciidisco commented 9 years ago

What you can do is (if you know the name of the window to navigate to), use the .toWindow() method (Docs) to "jump" to the window and then du a regular url assertion there. This is currently not possible for windows that do not have a name.