Auto-Wait
A test runner's built-in ability to wait for elements to become actionable before interacting, eliminating brittle fixed sleeps.
What is Auto-Wait?
What is Auto-Wait?
Auto-wait is the mechanism by which a modern automation tool pauses—automatically and only as long as needed—until an element is present, visible, stable, and ready to receive an action before clicking or typing. It replaces hard-coded sleeps, which are the classic cause of flaky tests: too short and the test fails intermittently, too long and the suite crawls. Playwright applies actionability checks to every interaction, and QI's exported specs rely on this behavior so recorded flows run deterministically instead of racing the UI.