get_page_state
Retrieve the current page state — title, URL, visible text, interactive elements, and console errors — to understand what is on screen before deciding the next action.
Instructions
Get the current state of the page — title, URL, visible text, interactive elements, and console errors. Use this to understand what is on screen before deciding the next action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Scope to a specific element — returns only that element's state | |
| includeHtml | No | Include truncated outer HTML of the body (default: false) |