// This runs in the main Electron process, parameter here is always. Playwright creates a browser context for each test. 'on' - Record trace for each test. If nothing happens, download Xcode and try again. Inspect page, generate selectors, step through the test execution, see click points and explore execution logs. Playwright has its own test runner for end-to-end tests, we call it Playwright Test. WebNote that since you don't need Playwright to install web browsers when testing Android, you can omit browser download via setting the following environment variable when installing Playwright: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = 1 npm i -D playwright WebRecord test trace . WebStart using playwright in your project by running `npm i playwright`. source