browser_drop_file
Upload files to drag-drop zones by targeting the zone's CSS selector, automatically locating hidden file inputs within the zone or its parent elements.
Instructions
Upload a file by finding a hidden within a drag-drop zone's subtree (or parent up to 2 levels). Use when browser_upload_file fails because the dropzone has no visible file input. Returns clear error if no input is found anywhere — pure drop-zones without backing inputs require manual handling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Single absolute file path | |
| files | No | Array of absolute file paths | |
| selector | Yes | CSS selector for the drop-zone target element (e.g. ".upload-area") |