mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: do not recommend PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD anymore (#29121)
This commit is contained in:
parent
3e2d7fe7e7
commit
d89ed88679
@ -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
|
## async method: Android.connect
|
||||||
* since: v1.28
|
* since: v1.28
|
||||||
- returns: <[AndroidDevice]>
|
- returns: <[AndroidDevice]>
|
||||||
|
|||||||
@ -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:**
|
**Supported Electron versions are:**
|
||||||
* v12.2.0+
|
* v12.2.0+
|
||||||
* v13.4.0+
|
* v13.4.0+
|
||||||
|
|||||||
@ -124,7 +124,7 @@ npx playwright --version
|
|||||||
|
|
||||||
## System requirements
|
## System requirements
|
||||||
|
|
||||||
- Node.js 16+
|
- Node.js 18+
|
||||||
- Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL).
|
- Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL).
|
||||||
- MacOS 12 Monterey, MacOS 13 Ventura, or MacOS 14 Sonoma.
|
- 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.
|
- Debian 11, Debian 12, Ubuntu 20.04 or Ubuntu 22.04, with x86-64 or arm64 architecture.
|
||||||
|
|||||||
14
packages/playwright-core/types/types.d.ts
vendored
14
packages/playwright-core/types/types.d.ts
vendored
@ -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 {
|
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:**
|
* **Supported Electron versions are:**
|
||||||
* - v12.2.0+
|
* - v12.2.0+
|
||||||
* - v13.4.0+
|
* - v13.4.0+
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user