page_look
Get a screenshot of the page with each visible interactive element marked by a numbered badge, then click by selecting the matching reference. No coordinate math needed; hidden elements are skipped.
Instructions
SEE the page the way you'd click it: a screenshot with a numbered badge drawn on each interactive element (Set-of-Mark) plus a legend mapping badge N → ref eN. Read the picture, pick a number, then page_click {"ref":"eN"} — precise, no coordinate math. Only elements that are really visible at their spot get a badge (covered/clipped ones are skipped and counted). The image is 1:1 with CSS px, so a raw point can also be clicked with page_click_at. Optional text/role/selector mark only matching elements (like page_find); includeNonInteractive marks any element. The overlay is removed after capture. Refs from a prior snapshot/find are invalidated by this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | only mark this ARIA role (explicit or implicit), e.g. button, link, textbox | |
| text | No | only mark elements whose visible/accessible text contains this (case-insensitive) | |
| limit | No | max badges to draw, in ref order (default 80) | |
| fullRes | No | keep native device pixels (2x on HiDPI) instead of normalizing to CSS px | |
| selector | No | only mark elements matching this CSS selector | |
| sessionId | No | ||
| includeNonInteractive | No | mark any element, not just interactive ones (ignored when selector is given) |