lecture 5 of 160 completed

Synchronisation strategies beyond the basics

Fluent waits, custom conditions, and polling policy. Selenium makes waiting your job, and this is the depth that job needs.

What you'll learn

  • How to build a wait condition for your own application
  • Why polling interval is a decision, not a default
  • Why waiting for the network is not waiting for the screen

Unreliable Selenium suites almost always share one root cause, and it is never a Selenium bug. It was waiting for the wrong thing, or reading a value before waiting for it.

The intermediate track covered explicit waits. This lecture is about what to do when the built-in conditions are not enough, which at senior level is often.

Fluent waits: control over how you wait, not just how long.

full course

Keep reading with the full course

The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →