browser_drop_file
Uploads files to web pages when normal upload fails. Finds hidden file inputs or intercepts the OS file dialog to handle sites without file inputs, like Google Ads.
Instructions
Upload a file when browser_upload_file fails. Two strategies: (1) finds a hidden in the target's subtree or up to 2 ancestor levels; (2) if there is no input at all, intercepts the NATIVE OS file-chooser - pass the selector of the button that opens the dialog, and the file is supplied programmatically without the dialog ever appearing. Strategy 2 handles sites like Google Ads that never put a file input in the DOM. Files must be regular files inside the working directory the MCP server runs in - folders, symlinks and hardlinks that point outside it are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Single absolute file path. Alias: `file_path`. | |
| files | No | Array of absolute file paths | |
| selector | Yes | CSS selector for the drop-zone target element (e.g. ".upload-area") |