Skip to main content

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

  • Web Process Automation

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Browser session IDThe unique identifier of the browser instance. Can be retrieved from "Open a browser session" Wrk Action. Example fb9bc380-146c-420e-9130-50ce93614e05Text (Short)YesSG_fb9bc380-146c-420e-9130-50ce93614e05
Element identifierThe CSS selector of the element you want to clickText (Long)Noinput[type="file"]
FileThe file you want to uploadFileYes

See Working with Wrk’s Selection Methods in Web Automation for additional details on configuring your selectors

Outputs (what you get)

NameDescriptionData TypeRequired?Example
Unsuccessful messageIf unsuccessful, a message stating what went wrongText (Long)No
Unsuccessful screenshotFileNo

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.
UnsuccessfulThis status is selected if the job has completed unsuccessfully.

Requirements

  • N/A