Skip to main content

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.

Snappit Upload Step

warning

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โ€‹

  1. target โ€“ Must be an uploadable target (an input element of type file).
  2. file โ€“ The file(s) to be uploaded. This field appears only after an uploadable target is selected.
note

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.