browser_drop_file
Upload files to drag-drop zones without visible file inputs by discovering hidden input elements in the zone's subtree or parent elements. Resolves failed uploads when no file input is displayed.
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") |