Skip to content
masterclass Buddy

Playwright · Method

page.content

A Playwright Page represents one browser tab or popup. Use it to navigate, locate elements, perform actions, and handle page events.

Last updated

Syntax

page = context.new_page()

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • BrowserContext
  • BrowserContext.new_page
  • BrowserContext.pages
  • BrowserContext.expect_page
  • Page.goto
  • Page.locator

Source: Pages | Playwright Python. Checked 2026-11-03.