docs: do not recommend PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD anymore (#29121)

This commit is contained in:
Max Schmitt 2024-01-23 18:12:47 +01:00 committed by GitHub
parent 3e2d7fe7e7
commit d89ed88679
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 27 deletions

View File

@ -74,12 +74,6 @@ const { _android: android } = require('playwright');
})();
```
Note 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:
```bash js
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm i -D playwright
```
## async method: Android.connect
* since: v1.28
- returns: <[AndroidDevice]>

View File

@ -40,12 +40,6 @@ const { _electron: electron } = require('playwright');
})();
```
Note that since you don't need Playwright to install web browsers when testing Electron, you can omit browser download via setting the following environment variable when installing Playwright:
```bash js
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm i -D playwright
```
**Supported Electron versions are:**
* v12.2.0+
* v13.4.0+

View File

@ -124,7 +124,7 @@ npx playwright --version
## System requirements
- Node.js 16+
- Node.js 18+
- Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL).
- MacOS 12 Monterey, MacOS 13 Ventura, or MacOS 14 Sonoma.
- Debian 11, Debian 12, Ubuntu 20.04 or Ubuntu 22.04, with x86-64 or arm64 architecture.

View File

@ -14225,13 +14225,6 @@ export {};
* })();
* ```
*
* Note 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:
*
* ```bash
* PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm i -D playwright
* ```
*
*/
export interface Android {
/**
@ -17308,13 +17301,6 @@ export interface Download {
* })();
* ```
*
* Note that since you don't need Playwright to install web browsers when testing Electron, you can omit browser
* download via setting the following environment variable when installing Playwright:
*
* ```bash
* PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm i -D playwright
* ```
*
* **Supported Electron versions are:**
* - v12.2.0+
* - v13.4.0+