page_snapshot
Capture the current page's interactive elements and assign stable refs for automated interaction, replacing CSS selectors after DOM changes.
Instructions
Snapshot the page's interactive elements (links, buttons, inputs, selects, textareas, ...) and assign each a stable ref (e1, e2, ...) via a data-bfa-ref attribute, usable by page_click/page_type/etc instead of a CSS selector. Re-run after any action that changes the DOM — refs from a prior snapshot are invalidated. To find a specific element instead of listing all, use page_find.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max elements to list, in document order (default 200) | |
| sessionId | No |