Tool Upload File
Category: Browser Automation Β· Tier: Free
Upload file(s) to a file input element. Works with <input type="file"> elements.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| selector | string | Yes | CSS selector for the file input element |
| filePaths | string[] | Yes | Array of absolute file paths to upload |
| _browserToken | string | No | Browser session token |
Example
Upload my resume to the job application form
β upload_file selector="#resume-input" filePaths=["/tmp/resume.pdf"]
Related
fillβ Fill text form fieldsclickβ Click elements- Browser Automation Tools β All 26 tools
- Tools Overview β All 131 tools by category