browser_get_page_info
POST /api/execute/browser_get_page_infoRetrieves a diagnostic snapshot of the current document metadata, navigation stack capabilities, readiness phase, and layout dimensions. The inspection queries the Blink frame host synchronously without mutating DOM nodes, firing synthetic events, or triggering layout thrashing. Returned fields include the canonical address, document title string, readiness state indicator, back and forward traversal availability flags, and viewport width and height. Readiness indicators reflect standard lifecycle stages from initial loading through interactive parsing to complete subresource acquisition. Traversal booleans reveal whether prior or subsequent entries exist on the session back-forward list before attempting step navigation. Automation workflows inspect this lightweight payload to confirm redirect landing pages, verify stack depth prior to stepping backward, and audit active screen geometry before capturing visual artifacts.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| context_id | string | yes | Unique session handle from which document metadata, traversal flags, and geometry are queried. |
Usage
result = await browser.get_page_info(context_id=context_id)