Skip to content
masterclass Buddy

Playwright · Method

page.waitForLoadState

Waits until the page reaches a selected load state. The default state is load, and an already-reached state resolves immediately.

Last updated

Since
before v1.9

Syntax

await page.waitForLoadState(state?, options?);

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

Subscribe
  • Page.goto
  • Page.waitForEvent
  • Page.waitForPopup
  • Page.setDefaultTimeout
  • BrowserContext.setDefaultTimeout

Source: Page | Playwright. Checked 2026-11-03.