diff --git a/docs/api.md b/docs/api.md index d8a07e306f05b..ab1c2c6ec0d1e 100644 --- a/docs/api.md +++ b/docs/api.md @@ -649,7 +649,7 @@ try { - `env` <[Object]> Specify environment variables that will be visible to the browser. Defaults to `process.env`. - `devtools` <[boolean]> Whether to auto-open a DevTools panel for each tab. If this option is `true`, the `headless` option will be set `false`. - `pipe` <[boolean]> Connects to the browser over a pipe instead of a WebSocket. Defaults to `false`. - - `extraPrefsFirefox` <[Object]> Additional [preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed to Firefox (see `PUPPETEER_PRODUCT`) + - `extraPrefsFirefox` <[Object]> Additional [preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed to Firefox (see `PUPPETEER_PRODUCT`) - `targetFilter` Use this function to decide if Puppeteer should connect to the given target. If a `targetFilter` is provided, Puppeteer only connects to targets for which `targetFilter` returns `true`. By default, Puppeteer connects to all available targets. - `waitForInitialPage` <[boolean]> Whether to wait for the initial page to be ready. Defaults to `true`. - returns: <[Promise]<[Browser]>> Promise which resolves to browser instance. diff --git a/src/node/LaunchOptions.ts b/src/node/LaunchOptions.ts index 46505583d4e3a..52c81cf519321 100644 --- a/src/node/LaunchOptions.ts +++ b/src/node/LaunchOptions.ts @@ -119,7 +119,7 @@ export interface LaunchOptions { */ product?: Product; /** - * {@link https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference | Additional preferences } that can be passed when launching with Firefox. + * {@link https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js | Additional preferences } that can be passed when launching with Firefox. */ extraPrefsFirefox?: Record; /** diff --git a/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md b/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md index 22de83f1e156a..c1f74324f0cd2 100644 --- a/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md +++ b/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md @@ -4,7 +4,7 @@ ## LaunchOptions.extraPrefsFirefox property -[Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. +[Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. Signature: diff --git a/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.md b/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.md index 746f003045000..99e34d4459ff1 100644 --- a/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.md +++ b/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.md @@ -20,7 +20,7 @@ export interface LaunchOptions | [dumpio?](./puppeteer.launchoptions.dumpio.md) | boolean | (Optional) If true, pipes the browser process stdout and stderr to process.stdout and process.stderr. | | [env?](./puppeteer.launchoptions.env.md) | Record<string, string \| undefined> | (Optional) Specify environment variables that will be visible to the browser. | | [executablePath?](./puppeteer.launchoptions.executablepath.md) | string | (Optional) Path to a browser executable to use instead of the bundled Chromium. Note that Puppeteer is only guaranteed to work with the bundled Chromium, so use this setting at your own risk. | -| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. | +| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. | | [handleSIGHUP?](./puppeteer.launchoptions.handlesighup.md) | boolean | (Optional) Close the browser process on SIGHUP. | | [handleSIGINT?](./puppeteer.launchoptions.handlesigint.md) | boolean | (Optional) Close the browser process on Ctrl+C. | | [handleSIGTERM?](./puppeteer.launchoptions.handlesigterm.md) | boolean | (Optional) Close the browser process on SIGTERM. | diff --git a/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md b/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md index 22de83f1e156a..c1f74324f0cd2 100644 --- a/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md +++ b/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md @@ -4,7 +4,7 @@ ## LaunchOptions.extraPrefsFirefox property -[Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. +[Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. Signature: diff --git a/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.md b/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.md index 746f003045000..99e34d4459ff1 100644 --- a/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.md +++ b/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.md @@ -20,7 +20,7 @@ export interface LaunchOptions | [dumpio?](./puppeteer.launchoptions.dumpio.md) | boolean | (Optional) If true, pipes the browser process stdout and stderr to process.stdout and process.stderr. | | [env?](./puppeteer.launchoptions.env.md) | Record<string, string \| undefined> | (Optional) Specify environment variables that will be visible to the browser. | | [executablePath?](./puppeteer.launchoptions.executablepath.md) | string | (Optional) Path to a browser executable to use instead of the bundled Chromium. Note that Puppeteer is only guaranteed to work with the bundled Chromium, so use this setting at your own risk. | -| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. | +| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. | | [handleSIGHUP?](./puppeteer.launchoptions.handlesighup.md) | boolean | (Optional) Close the browser process on SIGHUP. | | [handleSIGINT?](./puppeteer.launchoptions.handlesigint.md) | boolean | (Optional) Close the browser process on Ctrl+C. | | [handleSIGTERM?](./puppeteer.launchoptions.handlesigterm.md) | boolean | (Optional) Close the browser process on SIGTERM. | diff --git a/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md b/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md index 22de83f1e156a..c1f74324f0cd2 100644 --- a/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md +++ b/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md @@ -4,7 +4,7 @@ ## LaunchOptions.extraPrefsFirefox property -[Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. +[Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. Signature: diff --git a/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md b/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md index 746f003045000..99e34d4459ff1 100644 --- a/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md +++ b/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md @@ -20,7 +20,7 @@ export interface LaunchOptions | [dumpio?](./puppeteer.launchoptions.dumpio.md) | boolean | (Optional) If true, pipes the browser process stdout and stderr to process.stdout and process.stderr. | | [env?](./puppeteer.launchoptions.env.md) | Record<string, string \| undefined> | (Optional) Specify environment variables that will be visible to the browser. | | [executablePath?](./puppeteer.launchoptions.executablepath.md) | string | (Optional) Path to a browser executable to use instead of the bundled Chromium. Note that Puppeteer is only guaranteed to work with the bundled Chromium, so use this setting at your own risk. | -| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. | +| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. | | [handleSIGHUP?](./puppeteer.launchoptions.handlesighup.md) | boolean | (Optional) Close the browser process on SIGHUP. | | [handleSIGINT?](./puppeteer.launchoptions.handlesigint.md) | boolean | (Optional) Close the browser process on Ctrl+C. | | [handleSIGTERM?](./puppeteer.launchoptions.handlesigterm.md) | boolean | (Optional) Close the browser process on SIGTERM. |