browser_evaluate
Execute JavaScript expressions on web pages or specific elements using a structured accessibility snapshot. Enables interaction with page elements without requiring screenshots or visually-tuned models.
Instructions
Evaluate JavaScript expression on page or element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
element | No | Human-readable element description used to obtain permission to interact with the element | |
function | Yes | () => { /* code */ } or (element) => { /* code */ } when element is provided | |
ref | No | Exact target element reference from the page snapshot |