Upload files
Upload files
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.
By 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.
By element
Uses an upload field captured earlier by a Get element action.
Element ID
The Get element action that captured the upload field.
By element list
Uses an upload field from a list captured by a Get elements action.
Element list ID
The Get elements action that captured the source list.
The list index
The position in the list of the field that receives the file. The index starts at 0.
File paths
The full paths of the files to send. You can add several.
Timeout
How long, in milliseconds, to wait for the element to be selected before raising an error.
Do not 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: No.
Returns
This action has no returns.
Rules and conditions
- Select the action has to be set before the other fields.
- In By 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.