- Before this lesson
- Understanding why workflows fail
- You will learn to
- Choose between Delay, Wait Window and Wait Element
- Set sensible timeouts
- Put the application into a known state at the start
Three ways to wait
| Activity | Waits | Use when |
|---|---|---|
| Delay | a fixed time | nothing visible tells you the app is ready (rare) |
| Wait Window | until a window with a title (exact, contains or regex) exists | an app or dialog opens |
| Wait Element | until an element is visible, hidden or enabled | a button appears, a spinner disappears, a field becomes editable |
Waits continue as soon as the condition is met, so they are both faster and more reliable than delays. Give them a Timeout (ms) that reflects a slow day, not a fast one.
Minimum pause
Settings › Minimum pause between steps (ms) adds a small gap between all steps. Raising it slows everything down; fix the specific step instead.
Known starting state
At the start of the workflow:
- Close App the app if a leftover window could confuse the run (only if no unsaved work can be lost).
- Open App it fresh, or Focus Window the right window.
- Wait Window for it.
Write the required starting state in a Comment at the top.
Activities in this lesson
Delay · Wait Window · Wait Element · Open App · Close App · Focus Window
Saved only in this browser.
Source-verified. Steps were checked against the Station source code and authentic screenshots. Not yet executed step by step in the app. Written against RPAi Station for macOS 0.1.0 (1) (RPAi_Station_2.0 @ port/macos 9864e96) and the Windows source (RPAi_Station_2.0 @ codex/native-station e68f16d). Reviewed 2026-11-30. UI labels may differ slightly in other versions; see versions and changes.