Get page snapshot
get_page_snapshotReturns a YAML accessibility-tree snapshot of the current page, listing roles, names, and states. Use it to identify accessible elements to target with getByRole, getByText, or getByLabel.
Instructions
Returns a YAML accessibility-tree snapshot of the session page (roles, names, states). Use it to discover roles/names to target with getByRole/getByText/getByLabel in click/type/check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session id returned by start_session. Required on every stateful tool call. |