Playwright / Quiz

The Waits Playwright Fights for You

Actionability checks, the death of sleep(3000), and what a click actually waits for before it fires.

Difficulty
Easy
Format
Quiz
Points
100
Estimate
10 min

// MISSION BRIEF

Your Mission

Half of all flaky UI tests are timing bugs. Playwright's answer is auto-waiting: every action runs a set of actionability checks and retries until the element is genuinely ready.

Know exactly what those checks are and you can delete every waitForTimeout in the repo. Guess, and you will reinvent flake with extra steps.

Speed bonus active.

// FIRST CONTACT

Battle teaser

Before performing `locator.click()`, Playwright automatically waits for which conditions?

  1. AElement is visible, stable (not animating), receives pointer events (not covered), and enabled
  2. BOnly that the element exists in the DOM
  3. CThe page's load event and all network requests to finish
  4. DA fixed 500ms grace period
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

playwrightauto-waitingactionabilityflakinesse2e-testing