Install
@test2doc/playwright-utils is a set of Playwright helpers for testing server-rendered React apps.
Hydration-safe interactions
Click, fill and select reliably in server-rendered React apps, even before hydration finishes.
Tab visibility
Test how your app behaves when the user switches to another tab and comes back.
Typed role selectors
Keep getByRole selectors in one typed map with the RoleSelector type.