lecture 13 of 220 completed

Waiting properly

A fixed sleep is a guess. Selenium makes you wait on purpose, so learn the right way early.

What you'll learn

  • Why a fixed pause is a guess that fails in both directions
  • How to wait for a condition instead of a length of time
  • Where timing bugs come from, and how to stop causing them

Saving a contact takes about 700 milliseconds. So the obvious thing to write is this:

members only

Keep reading with the full course

The Foundations track and the first 5 lectures of each framework are free. This lecture is part of the paid course, which unlocks every lecture, all three frameworks, and downloads.

See the options →