Wait
The Wait step in Snappit is used to pause the workflow until a specific user interaction occurs. This is essential for handling cases where human input is needed to proceed. It gives users the opportunity to intervene, confirm, or manually complete actions before allowing the workflow to continue.
⏳ Purpose
To temporarily halt the workflow and wait for user input, such as a click, typing action, or confirmation through an action dialog.
🧭 Behavior
Users can configure the Wait step for the following interaction types:
-
Action:
- Displays a modal dialog with a Title, Description, and Action Buttons.
- The dialog is shown to the user in the browser, prompting them to make a choice.
- Workflow resumes once the user selects one of the defined actions.
-
Click:
- Waits until the user clicks on the specified Target element on the page.
- This is useful when manual confirmation is needed on a dynamic or protected UI component.
-
Typing:
- Waits for the user to input text into the specified Target element (e.g., a form field or input box).
- Useful when human-verified data entry is required.
⚙️ Configuration
Depending on the interaction type, the following configurations are available:
- Target: The HTML element to monitor for
Click
orTyping
events. - Dialog Title and Description: Only applicable for the
Action
type. These fields define the content of the confirmation dialog. - Action Buttons: List of possible actions that the user can take in the dialog. Each button represents a choice and can optionally be referenced later in the workflow.
✅ Use Cases
- Asking the user to confirm a submission before sending data
- Waiting for manual entry of secure or dynamic credentials
- Allowing the user to approve or cancel a sub-process
- Waiting for an operator to interact with a specific element before continuing automation
🔒 Human-in-the-Loop Automation
The Wait step brings a powerful level of interactivity to Snappit's automation engine. It enables scenarios where automated steps require real-time user oversight or intervention without breaking the automation logic.
This makes Wait ideal for hybrid workflows where certain operations benefit from human judgment, real-time approvals, or manual data corrections.
By incorporating the Wait step, Snappit ensures flexibility, control, and safety across all types of browser workflows — from fully automated scripts to human-assisted flows.