Skip to main content

Upload a file to a website

Wrk Product avatar
Written by Wrk Product
Updated over 2 weeks ago

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)

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

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

  • N/A

Did this answer your question?