Upload File
Set the file(s) of a file <input> element.
Web BrowserSeleniumBrowserUploadFile
What it does
Set the file(s) of a file <input> element.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Browser instance | variable | Required | browser | Name that identifies this browser session. |
| Selector type | dropdownCSS · XPath · ID · Name · Text | Required | CSS | |
| Selector | string | Required | Element selector (matches the selector type). Example: #submit Supports variables | |
| File(s) | file | Required | One path, or comma-separated paths for multi-upload. Example: C:/docs/a.pdf Supports variables |
More Web Browser commands
Ready to automate your busywork?
Start your free 10-day trial today. No credit card, no commitment.