Switching Between Windows


I was automating your demo site for switch window but could switch back the second time from parent window to child window


1)Login to this url: http://toolsqa.com/automation-practice-switch-windows/
2)Perform an alert action .
3)Clicked on new browser tab.
4)Switch back from newly opened window to parent window.
5) Clicked on timing alert
5)After that could not switch from parent window to child window.

Thanks in advance.

Tijo Default Asked on March 31, 2016 in Selenium WebDriver.
Add Comment
1 Answer(s)

did u handle timing alert (alert.accept() or alert.dismiss()) before switching from parent to child.?

selQAenthu Train Answered on April 18, 2016.
Add Comment

Your Answer

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