page.locator
page.locator is a browser runtime capability in the page namespace.
Availability
- Runtime:
browser - Kind:
raw - Category:
interaction - Supported drivers: Playwright, Puppeteer
SDK Surface
- SDK path:
runtime.page.locator - Async: No
HTTP Surface
- Transport:
workspace.execute(...) - Call:
page.locator - Long-running: No
Reference Semantics
- Requires refs:
page - Returns refs:
locator
Arguments
Result
- Type:
locator - Description: Bound locator reference for follow-up steps.

