Sometimes we need to test webpages that reside in a different tab. Use this page to click the button below, which will open a webpage in a new tab. Then try to get your Selenium test to switch to the new tab to perform an action on the new webpage. Then, get Selenium to switch back to the original tab.
Open a new tab using the button below
This button will open Google.com in a new tab.