browser_eval
Execute JavaScript in the current page to inspect the DOM, read texts, count elements, or try selectors, and get the result.
Instructions
Executes arbitrary JavaScript in the current page and returns the value (useful to inspect the DOM, read texts, count elements, try selectors).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | JS expression (evaluated with the returned result) |