Skip to content
public-library›Rules›Playwright›Synchronize with auto-waiting actions and web-first assertions

Synchronize with auto-waiting actions and web-first assertions

Let Playwright's actions wait for elements to be ready, and assert outcomes with web-first assertions that retry until they pass. Do not synchronize with sleeps, manual pre-waits, or values read once from the page.

In the full rule