*** title: context.pages description: List pages currently open in the browser context. -------------------------------------------------------------- `context.pages` is a browser runtime capability in the `context` namespace. ## Availability * Runtime: `browser` * Kind: `raw` * Category: `navigation` * Supported drivers: Playwright ## SDK Surface * SDK path: `runtime.browserContext.pages` * Async: Yes ## HTTP Surface * Transport: `workspace.execute(...)` * Call: `context.pages` * Long-running: No ## Reference Semantics * Requires refs: `context` * Returns refs: `page` ## Arguments This capability does not take explicit arguments. ## Result * Type: `page[]` * Description: Page references currently attached to the context. ## SDK Example ```ts await runtime.browserContext.pages(); ``` ## HTTP Example ```json { "runtime": "crm", "steps": [ { "call": "context.pages" } ] } ``` ## Related Capabilities * [`context.newPage`](../navigation/context-new-page) * [`page.waitForEvent`](../events/page-wait-for-event)