Selenium WebDriver 4

Use fluent wait with polling

Hard120 pts~45 min
  • Fluent wait
  • Polling
Practice app · Order Tracker

Asynchronous UI that appears, changes and disappears on timers — for explicit, implicit and fluent waits.

Test URL
/lab/selenium-use-fluent-wait-with-polling

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Poll a progress bar with a custom interval until it reaches 100%.

Your task

  1. 1Open TEST_URL and click #start-process.
  2. 2Configure a wait with a 10 s timeout and a 250 ms polling interval (FluentWait, poll_frequency, PollingInterval, or the pollTimeout argument of driver.wait).
  3. 3Wait until #progress-bar has aria-valuenow “100”.
  4. 4Assert #process-complete reads “Processing complete”.

Acceptance criteria

  • A polling interval is configured
  • #process-complete reads “Processing complete”
  • At least 1 assertion passes

Constraints

  • Do not use fixed sleeps (Thread.sleep, time.sleep, Task.Delay, driver.sleep).

Selenium WebDriver 4 · Selenium · Waits & synchronization