Copied to Clipboard
One of the Best Features: Auto Waiting
Playwright automatically waits for elements to become available before interacting with them.
await page.click('#submit');
In many cases, you don't need manual waits anymore.
Running Tests
npx playwright test
You can also run Playwright in UI mode:
npx playwright test --ui
I personally use this mode a lot while debugging and fixing my tests.
If you are building production-grade frontend applications, adding E2E testing to your workflow is worth considering.