0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/docs/api/puppeteer.browserfetcheroptions.md
jrandolf f07ad2c661
fix: update documentation on configuring puppeteer ()
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.

Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +02:00

2.7 KiB

sidebar_label
BrowserFetcherOptions

BrowserFetcherOptions interface

Signature:

export interface BrowserFetcherOptions

Properties

Property Modifiers Type Description Default
host? string (Optional) Determines the host that will be used for downloading.

Either

- https://storage.googleapis.com or - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central

path string Determines the path to download browsers to.
platform? Platform (Optional) Determines which platform the browser will be suited for. Auto-detected.
product? 'chrome' | 'firefox' (Optional) Determines which product the BrowserFetcher is for. "chrome".
useMacOSARMBinary? boolean (Optional) Enables the use of the Chromium binary for macOS ARM.