Here’s the code sample from our tutorial on how to switch to a new window or tab in Selenium for Java

 

Angie Jones
Automation Architect

Ready for the next generation of testing?

Get started today Schedule a demo