browser_highlight
Draw a persistent overlay around any web page element using a CSS selector or aria reference, making agent focus visible in screenshots and video recordings without altering page behavior.
Instructions
Draw a persistent highlight overlay around an element (by CSS selector or aria ref). Useful for screenshots and video recording to show what the agent is focusing on. Does not affect page behavior.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | aria-ref from browser_snapshot, for example e12. Provide exactly one of selector or ref. | |
| label | No | Optional text label shown above the highlight; also used as the key for browser_hide_highlight. | |
| style | No | Optional extra inline CSS for the overlay, e.g. 'outline: 3px dashed lime'. | |
| timeout | No | ||
| selector | No | CSS selector. Provide exactly one of selector or ref. | |
| frameSelector | No | Optional CSS selector for an iframe. When set, selector/ref resolve inside that frame. |