Repository navigation
docs: update Playwright automated-testing guide - #41081
Conversation
| unnecessary browser downloads when testing an Electron app. | ||
|
|
||
| ```sh npm2yarn | ||
| PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm install --save-dev playwright |
There was a problem hiding this comment.
We don't install the browsers automatically anymore, so the environment variable is not required.
Updating ours: microsoft/playwright#29121
See the announcement: https://playwright.dev/docs/release-notes#breaking-changes-playwright-no-longer-downloads-browsers-automatically
| changes that might affect the code below. | ||
| ::: | ||
|
|
||
| :::info Using third-party test runners |
There was a problem hiding this comment.
We discourage other test-runners and removed the guide a couple of releases ago.
| entry point (here, it is `main.js`). | ||
|
|
||
| ```js {5} @ts-nocheck | ||
| const { _electron: electron } = require('playwright') |
There was a problem hiding this comment.
@playwright/test re-exports everything inside the playwright package.
|
No Release Notes |
|
I have automatically backported this PR to "26-x-y", please check out #41095 |
|
I have automatically backported this PR to "27-x-y", please check out #41096 |
|
I have automatically backported this PR to "28-x-y", please check out #41097 |
|
I have automatically backported this PR to "29-x-y", please check out #41098 |
Description of Change
This PR refreshes the Playwright automated-testing guide for 2024. Relevant comments are attached on the files tab.
cc @codebytere
Checklist
Release Notes
Notes: none