DocsRandomRandom Delay

Wait a random amount of time in RunMacro

RunMacro RunnerRunMacro 3.5+

The Random Delay command pauses the script for a random duration between the min and max you set (in milliseconds).

Dialog & quick setup

RunMacro Random Delay command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Random Delay command in RunMacro.
  1. Add a Random › Random Delay command.
  2. Enter the min (ms) and max (ms).
  3. Save. Each run waits a random duration within that range.

Options reference

Min (ms) / Max (ms)

The wait range. 1000 = 1 second.

Modes & when to use

RunMacro Runner

Best for

  • Insert between actions to test a workflow under variable response times.
  • Wait for a page/app with a varying duration.
  • Do not use random delay to bypass abuse controls; follow the service terms and rate limits.

Use an alternative when

  • Do not use it to wait for a concrete condition or replace a state check.
Before you run
  • Add Random Delay to the macro.
  • Prepare the data or target that Random Delay will use.

Example workflow

Example: wait a random 0.5–1.5 seconds

  1. Random Delay, min=500, max=1500.
  2. Place it between type/click steps for a natural feel.
Expected result: After execution, Random Delay completes the described action and makes its result available to the next step.

Tips & limitations

Use Random Delay instead of a fixed Wait when you want less predictable behavior.
To convert interval thresholds from milliseconds to seconds or minutes, use our millisecond to second converter.
  • Nondeterministic timing makes tests harder to reproduce and does not prove the previous action finished.

Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.