# Wait

iframe
Pauses the workflow execution for a specified duration before proceeding to the next node. Use this to add delays between actions, wait for pages to load, or introduce randomized timing to simulate human behavior.

## Parameters

- **Wait Method**
  - **Fixed Value**: Wait for an exact duration (in milliseconds). Enter a number or reference a variable.
  - **Random Time**: Wait for a random duration between a minimum and maximum value. When selected, two input fields appear:
    - **MIN**: Minimum wait time (ms)
    - **MAX**: Maximum wait time (ms)
    - The actual wait time will be a random number in the range [MIN, MAX].


## Output

- **Output Parameters**
  - None
- **Execution Log**
  - Start Time
  - End Time
  - Duration (ms)
  - Status (Success/Failure)


## Example

### 1. Fixed wait after navigating to a page

After launching an app, wait 3 seconds for the page to fully load before interacting with elements.

| Field Name | Field Value |
|  --- | --- |
| **Wait Method** | Fixed Value |
| **Wait Time** | 3000 |


### 2. Random delay to simulate human behavior

Add a random 1–5 second delay between actions to avoid detection by anti-bot systems.

| Field Name | Field Value |
|  --- | --- |
| **Wait Method** | Random Time |
| **MIN** | 1000 |
| **MAX** | 5000 |


## Tips

- **Use Random Time for production workflows**: Fixed delays are predictable. Random delays better simulate human behavior and reduce the risk of being flagged by platforms.
- **Use variables for dynamic timing**: You can reference variables (e.g., from a previous [Run JS Script](/rparobotic-process-automation/03-node/02-data-processing/01-run-js-script) output) as the wait time value, enabling adaptive delays based on page load state.
- **Avoid excessive waits**: Long waits slow down your workflow. Prefer using the [Find Element](/rparobotic-process-automation/03-node/01-simulation-operations/03-find-element) node's built-in **Maximum Wait Time** parameter to wait for specific elements to appear, rather than adding blind waits.


## Related Nodes

- [Find Element](/rparobotic-process-automation/03-node/01-simulation-operations/03-find-element) — use its "Maximum Wait Time" parameter instead of Wait when waiting for a specific element
- [Loop](/rparobotic-process-automation/03-node/03-flow-logic/02-loop) — combine with Wait to add delays between loop iterations