Skip to contentPlayForge
Act IIChapter 13
chapter 13

13. Waiting and Synchronisation

Race conditions, spinners, network waits and controlling the clock, without one sleep.

32m read32m in total

Chapter film (about 7m) is coming.

5 more checkpoints in this chapter

This chapter is part of Standard, which opens at launch. Its lessons are listed below.

  1. Auto-Waiting Deep Dive
  2. Explicit Waiting Methods
  3. Handling Race Conditions
  4. Controlling the Clock
  5. Practice and interview questions: Waiting & Synchronization
See what a full account includes

Practice

39 exercises attached to this chapter.

  • fixThe fixed wait🔒 standard
  • fixThe discouraged idle🔒 standard
  • fixThe forced click🔒 standard
  • fixWaiting is not asserting🔒 standard
  • fixBypassing actionability checks🔒 standard
  • fixFilling a readonly input🔒 standard
  • fixFilling a readonly input🔒 elite
  • fixForce click coordinates🔒 elite
  • locatorPresent, and 0x0🔒 standard
  • locatorStill loading🔒 standard
  • locatorHidden until hover🔒 elite
  • locatorNot there yet🔒 elite
  • locatorCovered, not gone🔒 elite
  • locatorPointer-events: none🔒 elite
  • locator1200px down🔒 elite
  • locatorThe input that refuses fill()🔒 elite
  • locatorMid-flight🔒 elite
  • locatorDisabled until valid🔒 elite
  • locatorBoth banners are in the DOM🔒 elite
  • locatorSpinner gone, list hidden🔒 elite
  • locatorReorder, mid-slide🔒 elite
  • predictActionability: Readonly Inputs🔒 standard
  • predictActionability: Bypassing Readonly🔒 standard
  • predictActionability: Force Clicks & Overlays🔒 standard
  • predictActionability: Dispatching Events🔒 standard
  • predictWaiting: Stale Reads🔒 standard
  • predictWaiting: Auto-Retrying Assertions🔒 standard
  • predictWaiting: Hardcoded Timeouts🔒 standard
  • predictWaiting: The Default Timeout🔒 standard
  • predictActionability: Force Click🔒 elite
  • mcqPlaywright core — quiz bank (9 questions)🔒 standard