New Tabs & Windows

Links that open in new tabs or windows. In Playwright, use page.waitForEvent('popup')

Tip: In Playwright, listen for the popup event before triggering the action that opens the new page.