Playwright keeps nearly all its settings in one file, which makes playwright.config.ts the most important file in the repository after the tests themselves. Here is the version you will meet in real projects, explained line by line.
lecture 18 of 200 completed
Configuration and multiple environments
One config file drives the whole suite: where the app is, how long to wait, which browsers, and how many retries.
What you'll learn
- What lives in the Playwright config file
- How one suite targets several environments
- Why retries hide flakiness unless you watch the count
full course
Keep reading with the full course
The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.
See course plans →