context.once
context.once is a browser runtime capability in the context namespace.
Availability
- Runtime:
browser - Kind:
event - Category:
events - Supported drivers: Playwright
SDK Surface
- SDK path:
runtime.browserContext.once - Async: No
HTTP Surface
- Transport: resource route
- Route:
POST /workspaces/{id}/runtimes/{alias}/events/wait - Long-running: No
Reference Semantics
- Requires refs:
context
Arguments
Result
- Type:
runtime listener - Description: Registers a one-shot local SDK listener for context events.

