*** title: page.waitForLoadState description: Wait for the page to reach a specific load state. -------------------------------------------------------------- `page.waitForLoadState` is a browser runtime capability in the `page` namespace. ## Availability * Runtime: `browser` * Kind: `raw` * Category: `navigation` * Supported drivers: Playwright, Stagehand ## SDK Surface * SDK path: `runtime.page.waitForLoadState` * Async: Yes ## HTTP Surface * Transport: `workspace.execute(...)` * Call: `page.waitForLoadState` * Long-running: No ## Reference Semantics * Requires refs: `page` ## Arguments | Argument | Type | Required | Description | | --------- | -------- | -------- | ---------------------------------------------------------- | | `state` | `string` | No | Load state such as load, domcontentloaded, or networkidle. | | `options` | `object` | No | Driver wait options. | ## Result * Type: `void` * Description: Resolves when the requested load state is reached. ## SDK Example ```ts await runtime.page.waitForLoadState(); ``` ## HTTP Example ```json { "runtime": "crm", "steps": [ { "call": "page.waitForLoadState" } ] } ``` ## Related Capabilities * [`page.goto`](../navigation/page-goto) * [`page.waitForEvent`](../events/page-wait-for-event)