Upload a file to a website
Upload a file to a website by clicking an element that opens the file selector and providing a file
Application
Inputs (what you have)
| Name | Description | Data Type | Required? | Example |
|---|
| Browser session ID | The unique identifier of the browser instance. Can be retrieved from "Open a browser session" Wrk Action. Example fb9bc380-146c-420e-9130-50ce93614e05 | Text (Short) | Yes | SG_fb9bc380-146c-420e-9130-50ce93614e05 |
| Element identifier | The CSS selector of the element you want to click | Text (Long) | No | input[type="file"] |
| File | The file you want to upload | File | Yes | |
See Working with Wrk’s Selection Methods in Web Automation for additional details on configuring your selectors
Outputs (what you get)
| Name | Description | Data Type | Required? | Example |
|---|
| Unsuccessful message | If unsuccessful, a message stating what went wrong | Text (Long) | No | |
| Unsuccessful screenshot | | File | No | |
Outcomes
| Name | Description |
|---|
| Success | This status is selected if the job has successfully completed. |
| Unsuccessful | This status is selected if the job has completed unsuccessfully. |
Requirements