ec201744f0
This PR adds configurations files to `puppeteer`'s methods for configuration. Under the hood, `puppeteer` relies on https://www.npmjs.com/package/cosmiconfig which resolves several formats of configuration: - a `puppeteer` property in package.json - a `.puppeteerrc` file in JSON or YAML format - a `.puppeteerrc.json`, `.puppeteerrc.yaml`, `.puppeteerrc.yml`, `.puppeteerrc.js`, or `.puppeteerrc.cjs` file - a `puppeteer.config.js` or `puppeteer.config.cjs` CommonJS module exporting an object Documentation will be added later. Fixed: #9128
1.8 KiB
1.8 KiB
sidebar_label |
---|
BrowserFetcherOptions |
BrowserFetcherOptions interface
Signature:
export interface BrowserFetcherOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
host? | string | (Optional) Determines the host that will be used for downloading. | |
path | string | Determines the path to download browsers to. | |
platform? | Platform | (Optional) Determines which platform the browser will be suited for. | |
product? | 'chrome' | 'firefox' | (Optional) Determines which product the BrowserFetcher is for. | |
useMacOSARMBinary? | boolean | (Optional) Enables the use of the Chromium binary for macOS ARM. |