All frontend-related projects have a Playwright config called playwright.config.js
in the project's root directory.
It mostly uses default settings except that it sets the testDir
property to ./src/playwright
. For Electron-based projects, the projects
property reduces the browser to only Chromium as that is the only browser needed for Electron.
- Playwright Docs: Getting Started - Installation
Learn the basics of Playwright configuration by installing Playwright.