context.pages

View as Markdown

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

1await runtime.browserContext.pages();

HTTP Example

1{
2 "runtime": "crm",
3 "steps": [
4 {
5 "call": "context.pages"
6 }
7 ]
8}