page.content
page.content is a browser runtime capability in the page namespace.
Availability
- Runtime:
browser - Kind:
raw - Category:
extraction - Supported drivers: Playwright, Puppeteer, Stagehand
SDK Surface
- SDK path:
runtime.page.content - Async: Yes
HTTP Surface
- Transport:
workspace.execute(...) - Call:
page.content - Long-running: No
Reference Semantics
- Requires refs:
page
Arguments
This capability does not take explicit arguments.
Result
- Type:
string - Description: Current page HTML.

