browser_evaluate
Execute JavaScript code on web pages or specific elements to dynamically interact with and manipulate content, enabling automated testing and data extraction without requiring 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 |