cdp_interact
Perform browser automation actions like clicking, typing, and uploading files using CSS selectors or text matching to interact with web elements.
Instructions
Interact with elements: click, type, upload files, select options, etc.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| selector | Yes | CSS selector OR text= prefix to find by text (e.g., "text=Submit", "text=Expand all") | |
| value | No | Value for type/select actions | |
| file_path | No | File path for upload action | |
| trigger_selector | No | CSS selector for button to click before upload (for hidden file inputs) | |
| key | No | Key for press action (e.g., Enter, Tab) | |
| delay | No | Delay between keystrokes in ms |