snapshot
Capture interactive accessibility elements with stable refs to target reliably instead of guessing CSS selectors; use diff mode to return only changes since the last capture.
Instructions
Accessibility snapshot: interactive elements with refs to target by ref (more reliable than guessing CSS selectors). Pass diff:true to get only what changed since the last snapshot of this tab - far cheaper in a click/read loop. Password fields appear as secret:true with no value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| diff | No | Return added/removed/changed elements since the previous snapshot of this tab instead of the whole tree | |
| tabId | No | Tab id (default: agent's tab) | |
| frameId | No | Frame id from frames_list | |
| allFrames | No | Act on the first match in ANY frame (the element may be in an iframe) | |
| failOnAuthWall | No | Error with [AUTH_REQUIRED] if this lands on a sign-in wall (expired session) | |
| interactiveOnly | No |