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.
SubscribeRelated
Page.gotoPage.waitForEventPage.waitForPopupPage.setDefaultTimeoutBrowserContext.setDefaultTimeout