How do you focus on new windows with selenium ide?

Software TestingAutomation TestingSelenium Web Driver

We can focus on new windows with Selenium IDE. On clicking a link, a new tab or a window opens. After accessing the new window, we can close it and shift to the parent window.

Click on a link with the below step. Visit site is the name of the link to be clicked.

Select the window which opened on clicking the link.

Add Event is the page title of the window opened on clicking the link. Now, we can perform actions on the new window.

Close the new window with the below step.

Step back to the parent window with the below step. The EditingEvents is the name of the parent window.

raja
Published on 28-Nov-2020 13:49:38
Advertisements