*** title: page.content description: Return the current page HTML 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. ## SDK Example ```ts await runtime.page.content(); ``` ## HTTP Example ```json { "runtime": "crm", "steps": [ { "call": "page.content" } ] } ``` ## Related Capabilities * [`page.evaluate`](../extraction/page-evaluate) * [`locator.textContent`](../extraction/locator-text-content)