lecture 12 of 200 completed

Content that appears, changes and disappears

Learn how to check lists that load later and values that change.

What you'll learn

  • Check content that appears after the page loads
  • Use assertions that retry instead of reading a value once
  • Check saved data as well as a temporary message

The contacts page shows a spinner, then the table appears. Your test opens the page and counts the rows immediately. It finds zero.

Playwright handles most of this for you, which is exactly why the cases where it cannot are worth knowing.

Content that arrives late.

This works, and it is worth understanding why:

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 →