page.on
page.on is a browser runtime capability in the page namespace.
Availability
- Runtime:
browser - Kind:
event - Category:
events - Supported drivers: Playwright, Puppeteer, Stagehand
SDK Surface
- SDK path:
runtime.page.on - Async: No
HTTP Surface
- Transport: resource route
- Route:
POST /workspaces/{id}/runtimes/{alias}/events/wait - Long-running: No
Reference Semantics
- Requires refs:
page
Arguments
Result
- Type:
runtime listener - Description: Registers a local SDK listener backed by runtime events.
Emitted Events
console, popup, download, dialog
SDK Example
HTTP Example
Related Capabilities
Notes
- This is an SDK convenience layer over runtime event list/wait APIs, not a standalone HTTP execute capability.

