Skip to main content

Multiple Windows

Window / Tab Switch Practice

Use these buttons to practice handling multiple window handles in Selenium/Playwright/Cypress. Browser settings may still decide whether a “new window” opens as a tab.

Tip Use window.open and then switch to the new window handle in automation.
Note: JavaScript cannot launch a completely separate new browser instance (a new process/profile) due to browser security. It can only open a new tab/window via window.open.
Last action: None