take_snapshot
Take a text snapshot of the current page based on the accessibility tree to list elements with unique IDs and identify the selected element in DevTools.
Instructions
Take a text snapshot of the currently selected page based on the a11y tree. The snapshot lists page elements along with a unique identifier (uid). Always use the latest snapshot. Prefer taking a snapshot over taking a screenshot. The snapshot indicates the element selected in the DevTools Elements panel (if any).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | Whether to include all possible information available in the full a11y tree. Default is false. | |
| filePath | No | The absolute path, or a path relative to the current working directory, to save the snapshot to instead of attaching it to the response. |