Get Page State
browser_get_stateGets the current URL, title, frames, viewport, and focused element from an active browser page to diagnose state for debugging Playwright automations.
Instructions
Use when the current URL, title, frames, viewport, or focused element is needed to orient a browser diagnosis. Preconditions: an active page and acknowledgeRawCapture: true are required in an authorized environment. Next: use browser_snapshot for richer page context or choose the next targeted action. Sensitivity: state can expose URLs, frame metadata, and focused values from the live page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acknowledgeRawCapture | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |