8 lessons
Playwright TypeScript from Zero
A lesson-by-lesson series that takes you from an empty folder to a working Playwright test suite in TypeScript. Each lesson follows the official documentation, runs real commands, and comes with its code in one repository.
- Follows the official playwright.dev documentation
- Real commands, real output — nothing mocked
- TypeScript on Chromium, Firefox and WebKit
- The code of every lesson in one repository
Lessons
- 1Install Playwright and run your first test7 min
- 2Write tests: actions and assertions8 min
- 3Locators: find elements that do not break8 min
- 4Debug a failing test: five tools9 min
- 5Hooks and fixtures: where cleanup lives9 min
- 6Page Object Model: one wrong locator, how many places to fix?9 min
- 7Log in once: authentication with a saved session9 min
- 8Run Playwright tests in GitHub Actions9 min
More lessons are on the way.