browser_evaluate
Execute JavaScript expressions on web pages or specific elements using structured accessibility snapshots to enable LLM-driven interactions without visual 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 |