upload_file
Set a file on a Chrome file input from the server filesystem. Provide a CSS selector and absolute path to upload files up to 10MB, including shadow DOM elements.
Instructions
Set a file on input[type=file] from the server filesystem via DataTransfer (max 10MB).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path on the server machine | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| selector | Yes | The file input to fill; ">>>" pierces shadow DOM | |
| mime_type | No | Default: inferred from extension |