Upload
The Upload step in Snappit is designed to upload files into websites during workflow execution. This step interacts with file input elements in the DOM and supports configuration based on the target elementโs upload requirements.
Some websites hide file input target for styling purposes, in that case you need to record your browser session and upload a file to capture upload step since target locator only works only on visible elements in the browser
๐ค Purposeโ
To upload one or more files to a specified uploadable
target element on a webpage.
โ๏ธ Inputsโ
- target โ Must be an
uploadable
target (an input element of type file). - file โ The file(s) to be uploaded. This field appears only after an uploadable target is selected.
File input type and multiplicity are determined by the target element.
โ Behaviorโ
- Waits for the file input to be available
- Injects the selected file(s) into the input element
- Triggers the necessary DOM events to simulate a user-initiated upload
๐ Use Caseโ
Uploading documents, images, videos, or any supported file types in workflows that involve form submissions or file transfers.
The Upload step is an essential part of workflows that deal with media or file-based input, enabling users to fully automate content and data submission tasks across web platforms.