Pages
One page = one browser tab. You get one automatically in every test. The tricky part is when an action opens a NEW tab or popup — you need to capture that page object before interacting with it.
The page fixture
In every Playwright test you get a page fixture automatically — it's a fresh browser tab isolated from other tests. You use it to navigate, interact, and assert. One page per test is the default and works for most scenarios.
New tabs and popups
When a link has target="_blank" or JavaScript calls window.open(), a new browser tab opens. The new tab is a separate Page object. The pattern: set up the promise BEFORE clicking (just like waitForResponse or download events), then click, then await.
Multiple pages in one test
Sometimes you need multiple tabs in one test — for example, testing that changes made in one tab appear in another (real-time sync). Create pages from context directly.