RE: How to switch between multiple windows?

If there are multiple windows opened, as in: window(parent window), window(child1),window(child2),window(child3).
So now if i want to switch from :
1::window(child3) to window(child2)
2::window(child3) to window(parent)
3::window(parent) to window(child1)
How to work out this, please suggest??

Thank you!!

roshan3506 Train Asked on September 20, 2014 in Selenium WebDriver.
Add Comment
2 Answers

Try “driver.switchTo().window("windowName");” and go through these links.


Vice Professor Answered on September 20, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.