cdp_upload_shadow
Upload files to file inputs within shadow DOM elements. Use after identifying the target input with cdp_execute to automate browser file uploads.
Instructions
Upload a file to a file input in shadow DOM. First use cdp_execute to find the file input and store it in window.__fileInput, then call this tool.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the file to upload |