nex_browser_run_code
Execute JavaScript in a specific browser page or session when the separate runCode permission is enabled. Use it to automate page actions and inspect live page state.
Instructions
Run page JavaScript when the separate runCode permission is enabled. Page CAPTCHA: start with nex_browser_captcha_prepare (free). Do not solve CAPTCHAs with CDP, Python, image matching or scripted drags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| pageId | No | Defaults to the active page | |
| sessionId | No | Defaults to the active session |