web_evaluate
Run JavaScript in the DESKTOP grid browser page (by pageId) and return the result. Not a device — for a phone or tablet use android_devtools_evaluate or ios_safari_evaluate (by udid).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page ID from web_navigate | |
| script | Yes | JavaScript expression to evaluate (e.g. "document.title" or "() => window.location.href") |