browse_evaluate
Navigate to a URL and execute JavaScript to extract data, click elements, fill forms, or read page state. Returns the evaluated result as a string for scraping and automation tasks.
Instructions
Navigate to a URL and execute JavaScript in the page context. Returns the evaluated result as a string. Supports extracting data, clicking elements, filling forms, and reading page state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to visit | |
| expression | Yes | JavaScript expression to evaluate in the page context. The result is JSON-stringified. Examples: 'document.title', 'navigator.userAgent', 'document.querySelector("h1").textContent' | |
| stealth | No | Accepted for compatibility. Stealth behavior is controlled by the Obscura server. |