browser_evaluate
Execute JavaScript in the browser context and return the result. The script can change or delete the session's page state, such as cookies, storage and form data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | JavaScript expression or function body to evaluate in the page context | |
| session_id | Yes | Session ID returned by browser_navigate |