Playwright
A four-chapter, progressive introduction to browser automation and end-to-end testing.
-
Chapter 1
Chapter 1: Introduction to Playwright
What Playwright is, how it compares to Selenium and Cypress, which browsers it drives, and how to install and run your first test.
-
Chapter 2
Chapter 2: Introduction to Test Spec
The anatomy of a Playwright spec file — test(), describe(), expect(), hooks, running tests, and reading the report.
-
Chapter 3
Chapter 3: Basic Playwright Functions
The everyday API — goto, locator, click, fill, screenshot, and the assertion matchers that make tests resilient.
-
Chapter 4
Chapter 4: Advanced Playwright Topics
Page Object Model, API mocking with page.route(), custom fixtures, parallel execution, and wiring Playwright into GitHub Actions CI.