Skip to main content
Roberty Studio
RPABrowser

Upload

Upload

Sends one or more files to an upload field in the browser. The field can be identified by CSS selector, by an element already captured, or by an item from a list of elements.


Options​

Select the action​

How the upload field is identified.

An element in the browser​

Identifies the upload field using a CSS selector.

Browser or page ID​

The browser opening action where the upload happens.

Element selector​

The CSS selector of the upload field on the page, input[type=file] for example.

An element already selected​

Uses an upload field captured earlier by a Get element action.

Element ID​

The Get element action that captured the upload field.

One item from a selection of multiple elements​

Uses an upload field from a list captured by a Get elements action.

Elements list id​

The Get elements action that captured the source list.

Enter the index of the list​

The position in the list of the field that receives the file. The index starts at 0.

Timeout​

How long, in seconds, the files have to be set on the element before an error is raised. Default: 0, which keeps the browser's default timeout.

Don't wait for the upload to finish​

With this on, the automation moves to the next action without waiting for the file to finish sending. Default: off.

Files path​

The full paths of the files to send. You can add several.

Returns​

This action has no returns.

Rules and conditions​

  • Select the action has to be set before the other fields.
  • In An element in the browser mode, Browser or page ID and Element selector are both required.
  • The selector has to point at an <input type="file"> element, or the equivalent, on the page.
  • The paths you give have to be files that exist on the machine the robot runs on.
  • If the element is not found within the timeout, the action ends in an error.