Skip to main content
← TesterRank/Topics

Waits & Timing

Practice handling explicit waits, implicit waits, retry patterns, and sequential loading.

Wait Patterns

Click Load Data to begin

Hint: The delay is random every time. Thread.sleep() won't work reliably. Use WebDriverWait with a reasonable timeout (e.g., 10 seconds) and polling interval.

Click Start to begin the challenge

Hint: This element exists for only 3 seconds. Your automation must detect it quickly and act immediately. Combine visibility wait with instant click -- no separate assertion step.

Complex Timing

🔒

Fields enabled: 1/4

Hint: You can't fill all fields at once. Wait for each field to become enabled before interacting. Use ExpectedConditions.elementToBeClickable() between each step.
Attempt: 0 of 3

Click Process Payment to begin

Hint:Real applications fail intermittently. Build retry logic into your framework. Don't just assert once -- retry the action if it fails. Custom wait conditions can check for success OR error states.
Loaded: 0/5 cards

Card 1

Card 2

Card 3

Card 4

Card 5

Click Load Dashboard to begin

Hint:Don't assert all 5 cards immediately -- they load sequentially. Wait for each card individually or wait for the count to reach 5. Asserting too early causes flaky tests.