cdp_execute
Execute JavaScript directly in browser page contexts to automate interactions, manipulate DOM elements, or retrieve dynamic content during web automation sessions.
Instructions
Execute JavaScript in the page context.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | JavaScript to execute | |
| frame_id | No | Execute in specific frame (from cdp_list_frames) |