How do you focus on new windows with selenium ide?


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.

Updated on: 28-Nov-2020

454 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements