mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(install): support npm config for chromium revision (#2290)
This patch: - adds `npm_config_puppeteer_chromium_revision` support - clarifies api documentation about variables from npm config
This commit is contained in:
committed by
Andrey Lushnikov
parent
c4da19bd23
commit
8b0fd0ae4a
@@ -266,7 +266,8 @@ The Puppeteer API is hierarchical and mirrors the browser structure. On the foll
|
||||
|
||||
### Environment Variables
|
||||
|
||||
Puppeteer looks for certain [environment variables](https://en.wikipedia.org/wiki/Environment_variable) to aid its operations. These variables can either be set in the environment or in the [npm config](https://docs.npmjs.com/cli/config).
|
||||
Puppeteer looks for certain [environment variables](https://en.wikipedia.org/wiki/Environment_variable) to aid its operations.
|
||||
If puppeteer doesn't find them in environment, lowercased variant of these variables will be used from the [npm config](https://docs.npmjs.com/cli/config).
|
||||
|
||||
- `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` - defines HTTP proxy settings that are used to download and run Chromium.
|
||||
- `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD` - do not download bundled Chromium during installation step.
|
||||
|
||||
Reference in New Issue
Block a user