Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wwwsevolod opened this issue Nov 10, 2014 · 1 comment
Assignees
Labels

Comments

@wwwsevolod
Copy link

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

@wwwsevolod wwwsevolod changed the title Assert windows and urls of windows opened via window.open or a[href="somewhere][target="_blank"] Assert windows and urls of windows opened via window.open or a[href="somewhere"][target="_blank"] Nov 10, 2014
@asciidisco asciidisco self-assigned this Dec 3, 2014
@asciidisco
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants