diff --git a/README.md b/README.md index f5aa1e6d47d..7b2f6aea887 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ -#### [API](https://pptr.dev/api) | [FAQ](https://pptr.dev/faq) | [Contributing](https://pptr.dev/contributing) | [Troubleshooting](https://pptr.dev/troubleshooting) +#### [Guides](https://pptr.dev/guides) | [API](https://pptr.dev/api) | [FAQ](https://pptr.dev/faq) | [Contributing](https://pptr.dev/contributing) | [Troubleshooting](https://pptr.dev/troubleshooting) > Puppeteer is a Node.js library which provides a high-level API to control > Chrome/Chromium over the @@ -49,51 +49,32 @@ Chromium (~170MB macOS, ~282MB Linux, ~280MB Windows) that is with Puppeteer. For a version of Puppeteer without installation, see [`puppeteer-core`](#puppeteer-core). -#### Environment Variables +#### Configuring Puppeteer -Puppeteer looks for certain -[environment variables](https://en.wikipedia.org/wiki/Environment_variable) for -customizing behavior. If Puppeteer doesn't find them in the environment during -the installation step, a lowercased variant of these variables will be used from -the [npm config](https://docs.npmjs.com/cli/config). +Puppeteer uses several defaults that can be customized through configuration +files. -- `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` - defines HTTP proxy settings that are - used to download and run the browser. -- `PUPPETEER_CACHE_DIR` - defines the directory to be used by Puppeteer for - caching. Defaults to - [`os.homedir()/.cache/puppeteer`](https://nodejs.org/api/os.html#os_os_homedir). -- `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD` - do not download bundled Chromium during - installation step. -- `PUPPETEER_TMP_DIR` - defines the directory to be used by Puppeteer for - creating temporary files. Defaults to - [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir). -- `PUPPETEER_DOWNLOAD_HOST` - specifies the URL prefix that is used to download - Chromium. Note: this includes protocol and might even include path prefix. - Defaults to `https://storage.googleapis.com`. -- `PUPPETEER_DOWNLOAD_PATH` - specifies the path for the downloads folder. - Defaults to `/chromium`, where `` is Puppeteer's cache - directory. -- `PUPPETEER_BROWSER_REVISION` - specifies a certain version of the browser - you'd like Puppeteer to use. See - [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) on - how executable path is inferred. -- `PUPPETEER_EXECUTABLE_PATH` - specifies an executable path to be used in - [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch). -- `PUPPETEER_PRODUCT` - specifies which browser you'd like Puppeteer to use. - Must be either `chrome` or `firefox`. This can also be used during - installation to fetch the recommended browser binary. Setting `product` - programmatically in - [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) - supersedes this environment variable. -- `PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM` — specify Puppeteer download - Chromium for Apple M1. On Apple M1 devices Puppeteer by default downloads the - version for Intel's processor which runs via Rosetta. It works without any - problems, however, with this option, you should get more efficient resource - usage (CPU and RAM) that could lead to a faster execution time. +For example, to change the default cache directory Puppeteer uses to install +browsers, you can add a `.puppeteerrc.cjs` (or `puppeteer.config.cjs`) at the +root of your application with the contents -Environment variables except for `PUPPETEER_CACHE_DIR` are not used for -[`puppeteer-core`](#puppeteer-core) since core does not automatically handle -browser downloading. +```js +const {join} = require('path'); + +/** + * @type {import("puppeteer").Configuration} + */ +module.exports = { + // Changes the cache location for Puppeteer. + cacheDirectory: join(__dirname, '.cache', 'puppeteer'), +}; +``` + +After adding the configuration file, you will need to remove and reinstall +`puppeteer` for it to take effect. + +See [Configuring +Puppeteer](https://pptr.dev/guides/configuring-puppeteer) for more information. #### `puppeteer-core` @@ -104,21 +85,21 @@ Every release since v1.7.0 we publish two packages: `puppeteer` is a _product_ for browser automation. When installed, it downloads a version of Chromium, which it then drives using `puppeteer-core`. Being an -end-user product, `puppeteer` supports a bunch of convenient `PUPPETEER_*` env -variables to tweak its behavior. +end-user product, `puppeteer` automates several workflows using reasonable defaults [that can be customized](https://pptr.dev/guides/configuring-puppeteer). `puppeteer-core` is a _library_ to help drive anything that supports DevTools -protocol. `puppeteer-core` doesn't download Chromium when installed. Being a -library, `puppeteer-core` is fully driven through its programmatic interface. +protocol. Being a library, `puppeteer-core` is fully driven through its +programmatic interface implying no defaults are assumed and `puppeteer-core` +will not download Chromium when installed. -You should only use `puppeteer-core` if you are -[connecting to a remote browser](https://pptr.dev/api/puppeteer.puppeteer.connect) -or [managing browsers yourself](https://pptr.dev/api/puppeteer.browserfetcher). -If you are managing browsers yourself, you will need to call +You should use `puppeteer-core` if you are [connecting to a remote +browser](https://pptr.dev/api/puppeteer.puppeteer.connect) or [managing browsers +yourself](https://pptr.dev/api/puppeteer.browserfetcher). If you are managing +browsers yourself, you will need to call [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) with -an explicit +an an explicit [`executablePath`](https://pptr.dev/api/puppeteer.launchoptions.executablepath) -or [`channel`](https://pptr.dev/api/puppeteer.launchoptions.channel). +(or [`channel`](https://pptr.dev/api/puppeteer.launchoptions.channel) if it's installed in a standard location). When using `puppeteer-core`, remember to change the import: diff --git a/docs/api/index.md b/docs/api/index.md index 724f9ffc247..4db66c57695 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -73,7 +73,7 @@ sidebar_label: API | [CDPSessionOnMessageObject](./puppeteer.cdpsessiononmessageobject.md) | | | [ClickOptions](./puppeteer.clickoptions.md) | | | [CommonEventEmitter](./puppeteer.commoneventemitter.md) | | -| [Configuration](./puppeteer.configuration.md) | | +| [Configuration](./puppeteer.configuration.md) |

Defines options to configure Puppeteer's behavior during installation and runtime.

See individual properties for more information.

| | [ConnectionCallback](./puppeteer.connectioncallback.md) | | | [ConnectionTransport](./puppeteer.connectiontransport.md) | | | [ConnectOptions](./puppeteer.connectoptions.md) | | @@ -84,6 +84,7 @@ sidebar_label: API | [CSSCoverageOptions](./puppeteer.csscoverageoptions.md) | Set of configurable options for CSS coverage. | | [CustomQueryHandler](./puppeteer.customqueryhandler.md) | | | [Device](./puppeteer.device.md) | | +| [ExperimentsConfiguration](./puppeteer.experimentsconfiguration.md) |

Defines experiment options for Puppeteer.

See individual properties for more information.

| | [FrameAddScriptTagOptions](./puppeteer.frameaddscripttagoptions.md) | | | [FrameAddStyleTagOptions](./puppeteer.frameaddstyletagoptions.md) | | | [FrameWaitForFunctionOptions](./puppeteer.framewaitforfunctionoptions.md) | | diff --git a/docs/api/puppeteer.accessibility.md b/docs/api/puppeteer.accessibility.md index ae6178dc028..f17d1433415 100644 --- a/docs/api/puppeteer.accessibility.md +++ b/docs/api/puppeteer.accessibility.md @@ -6,7 +6,7 @@ sidebar_label: Accessibility The Accessibility class provides methods for inspecting Chromium's accessibility tree. The accessibility tree is used by assistive technology such as [screen readers](https://en.wikipedia.org/wiki/Screen_reader) or [switches](https://en.wikipedia.org/wiki/Switch_access). -**Signature:** +#### Signature: ```typescript export declare class Accessibility diff --git a/docs/api/puppeteer.accessibility.snapshot.md b/docs/api/puppeteer.accessibility.snapshot.md index c8f7bf5bd32..81ff5f691b8 100644 --- a/docs/api/puppeteer.accessibility.snapshot.md +++ b/docs/api/puppeteer.accessibility.snapshot.md @@ -6,7 +6,7 @@ sidebar_label: Accessibility.snapshot Captures the current state of the accessibility tree. The returned object represents the root accessible node of the page. -**Signature:** +#### Signature: ```typescript class Accessibility { diff --git a/docs/api/puppeteer.actionresult.md b/docs/api/puppeteer.actionresult.md index a5d3dd2c514..87abb66be89 100644 --- a/docs/api/puppeteer.actionresult.md +++ b/docs/api/puppeteer.actionresult.md @@ -4,7 +4,7 @@ sidebar_label: ActionResult # ActionResult type -**Signature:** +#### Signature: ```typescript export declare type ActionResult = 'continue' | 'abort' | 'respond'; diff --git a/docs/api/puppeteer.awaitable.md b/docs/api/puppeteer.awaitable.md index 9f9e3222701..a86ee6b8ed1 100644 --- a/docs/api/puppeteer.awaitable.md +++ b/docs/api/puppeteer.awaitable.md @@ -4,7 +4,7 @@ sidebar_label: Awaitable # Awaitable type -**Signature:** +#### Signature: ```typescript export declare type Awaitable = T | PromiseLike; diff --git a/docs/api/puppeteer.boundingbox.height.md b/docs/api/puppeteer.boundingbox.height.md index 50234295438..86ec3fef987 100644 --- a/docs/api/puppeteer.boundingbox.height.md +++ b/docs/api/puppeteer.boundingbox.height.md @@ -6,7 +6,7 @@ sidebar_label: BoundingBox.height the height of the element in pixels. -**Signature:** +#### Signature: ```typescript interface BoundingBox { diff --git a/docs/api/puppeteer.boundingbox.md b/docs/api/puppeteer.boundingbox.md index 0912f5c97e7..7a3b9268f28 100644 --- a/docs/api/puppeteer.boundingbox.md +++ b/docs/api/puppeteer.boundingbox.md @@ -4,7 +4,7 @@ sidebar_label: BoundingBox # BoundingBox interface -**Signature:** +#### Signature: ```typescript export interface BoundingBox extends Point @@ -14,7 +14,7 @@ export interface BoundingBox extends Point ## Properties -| Property | Modifiers | Type | Description | -| ------------------------------------------- | --------- | ------ | ------------------------------------ | -| [height](./puppeteer.boundingbox.height.md) | | number | the height of the element in pixels. | -| [width](./puppeteer.boundingbox.width.md) | | number | the width of the element in pixels. | +| Property | Modifiers | Type | Description | Default | +| ------------------------------------------- | --------- | ------ | ------------------------------------ | ------- | +| [height](./puppeteer.boundingbox.height.md) | | number | the height of the element in pixels. | | +| [width](./puppeteer.boundingbox.width.md) | | number | the width of the element in pixels. | | diff --git a/docs/api/puppeteer.boundingbox.width.md b/docs/api/puppeteer.boundingbox.width.md index 61411f3c95e..b85555098ee 100644 --- a/docs/api/puppeteer.boundingbox.width.md +++ b/docs/api/puppeteer.boundingbox.width.md @@ -6,7 +6,7 @@ sidebar_label: BoundingBox.width the width of the element in pixels. -**Signature:** +#### Signature: ```typescript interface BoundingBox { diff --git a/docs/api/puppeteer.boxmodel.border.md b/docs/api/puppeteer.boxmodel.border.md index 91ba7342627..48a5f0251df 100644 --- a/docs/api/puppeteer.boxmodel.border.md +++ b/docs/api/puppeteer.boxmodel.border.md @@ -4,7 +4,7 @@ sidebar_label: BoxModel.border # BoxModel.border property -**Signature:** +#### Signature: ```typescript interface BoxModel { diff --git a/docs/api/puppeteer.boxmodel.content.md b/docs/api/puppeteer.boxmodel.content.md index b7234210166..8f670e4b407 100644 --- a/docs/api/puppeteer.boxmodel.content.md +++ b/docs/api/puppeteer.boxmodel.content.md @@ -4,7 +4,7 @@ sidebar_label: BoxModel.content # BoxModel.content property -**Signature:** +#### Signature: ```typescript interface BoxModel { diff --git a/docs/api/puppeteer.boxmodel.height.md b/docs/api/puppeteer.boxmodel.height.md index 8f957033d3b..0c85e2e51e2 100644 --- a/docs/api/puppeteer.boxmodel.height.md +++ b/docs/api/puppeteer.boxmodel.height.md @@ -4,7 +4,7 @@ sidebar_label: BoxModel.height # BoxModel.height property -**Signature:** +#### Signature: ```typescript interface BoxModel { diff --git a/docs/api/puppeteer.boxmodel.margin.md b/docs/api/puppeteer.boxmodel.margin.md index 59d3ef93916..172937f521d 100644 --- a/docs/api/puppeteer.boxmodel.margin.md +++ b/docs/api/puppeteer.boxmodel.margin.md @@ -4,7 +4,7 @@ sidebar_label: BoxModel.margin # BoxModel.margin property -**Signature:** +#### Signature: ```typescript interface BoxModel { diff --git a/docs/api/puppeteer.boxmodel.md b/docs/api/puppeteer.boxmodel.md index 00c083c4fe3..216c6648c79 100644 --- a/docs/api/puppeteer.boxmodel.md +++ b/docs/api/puppeteer.boxmodel.md @@ -4,7 +4,7 @@ sidebar_label: BoxModel # BoxModel interface -**Signature:** +#### Signature: ```typescript export interface BoxModel @@ -12,11 +12,11 @@ export interface BoxModel ## Properties -| Property | Modifiers | Type | Description | -| ------------------------------------------ | --------- | --------------------------------- | ----------- | -| [border](./puppeteer.boxmodel.border.md) | | [Point](./puppeteer.point.md)\[\] | | -| [content](./puppeteer.boxmodel.content.md) | | [Point](./puppeteer.point.md)\[\] | | -| [height](./puppeteer.boxmodel.height.md) | | number | | -| [margin](./puppeteer.boxmodel.margin.md) | | [Point](./puppeteer.point.md)\[\] | | -| [padding](./puppeteer.boxmodel.padding.md) | | [Point](./puppeteer.point.md)\[\] | | -| [width](./puppeteer.boxmodel.width.md) | | number | | +| Property | Modifiers | Type | Description | Default | +| ------------------------------------------ | --------- | --------------------------------- | ----------- | ------- | +| [border](./puppeteer.boxmodel.border.md) | | [Point](./puppeteer.point.md)\[\] | | | +| [content](./puppeteer.boxmodel.content.md) | | [Point](./puppeteer.point.md)\[\] | | | +| [height](./puppeteer.boxmodel.height.md) | | number | | | +| [margin](./puppeteer.boxmodel.margin.md) | | [Point](./puppeteer.point.md)\[\] | | | +| [padding](./puppeteer.boxmodel.padding.md) | | [Point](./puppeteer.point.md)\[\] | | | +| [width](./puppeteer.boxmodel.width.md) | | number | | | diff --git a/docs/api/puppeteer.boxmodel.padding.md b/docs/api/puppeteer.boxmodel.padding.md index d0c8c4d4fea..bdb8667a42d 100644 --- a/docs/api/puppeteer.boxmodel.padding.md +++ b/docs/api/puppeteer.boxmodel.padding.md @@ -4,7 +4,7 @@ sidebar_label: BoxModel.padding # BoxModel.padding property -**Signature:** +#### Signature: ```typescript interface BoxModel { diff --git a/docs/api/puppeteer.boxmodel.width.md b/docs/api/puppeteer.boxmodel.width.md index 518c9fd146d..3dc3671093e 100644 --- a/docs/api/puppeteer.boxmodel.width.md +++ b/docs/api/puppeteer.boxmodel.width.md @@ -4,7 +4,7 @@ sidebar_label: BoxModel.width # BoxModel.width property -**Signature:** +#### Signature: ```typescript interface BoxModel { diff --git a/docs/api/puppeteer.browser.browsercontexts.md b/docs/api/puppeteer.browser.browsercontexts.md index 65b916c99ac..1e81e41eb0f 100644 --- a/docs/api/puppeteer.browser.browsercontexts.md +++ b/docs/api/puppeteer.browser.browsercontexts.md @@ -6,7 +6,7 @@ sidebar_label: Browser.browserContexts Returns an array of all open browser contexts. In a newly created browser, this will return a single instance of [BrowserContext](./puppeteer.browsercontext.md). -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.close.md b/docs/api/puppeteer.browser.close.md index 239a6bced11..a087539853d 100644 --- a/docs/api/puppeteer.browser.close.md +++ b/docs/api/puppeteer.browser.close.md @@ -6,7 +6,7 @@ sidebar_label: Browser.close Closes Chromium and all of its pages (if any were opened). The [Browser](./puppeteer.browser.md) object itself is considered to be disposed and cannot be used anymore. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.createincognitobrowsercontext.md b/docs/api/puppeteer.browser.createincognitobrowsercontext.md index 45c0ada29f5..09ad2bf2a2a 100644 --- a/docs/api/puppeteer.browser.createincognitobrowsercontext.md +++ b/docs/api/puppeteer.browser.createincognitobrowsercontext.md @@ -6,7 +6,7 @@ sidebar_label: Browser.createIncognitoBrowserContext Creates a new incognito browser context. This won't share cookies/cache with other browser contexts. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.defaultbrowsercontext.md b/docs/api/puppeteer.browser.defaultbrowsercontext.md index 2b18461fc3d..ce6262fb8f0 100644 --- a/docs/api/puppeteer.browser.defaultbrowsercontext.md +++ b/docs/api/puppeteer.browser.defaultbrowsercontext.md @@ -6,7 +6,7 @@ sidebar_label: Browser.defaultBrowserContext Returns the default browser context. The default browser context cannot be closed. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.disconnect.md b/docs/api/puppeteer.browser.disconnect.md index 7ee1ae568f2..35f9a5779f1 100644 --- a/docs/api/puppeteer.browser.disconnect.md +++ b/docs/api/puppeteer.browser.disconnect.md @@ -6,7 +6,7 @@ sidebar_label: Browser.disconnect Disconnects Puppeteer from the browser, but leaves the Chromium process running. After calling `disconnect`, the [Browser](./puppeteer.browser.md) object is considered disposed and cannot be used anymore. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.isconnected.md b/docs/api/puppeteer.browser.isconnected.md index cbcdee36019..190afde7aa7 100644 --- a/docs/api/puppeteer.browser.isconnected.md +++ b/docs/api/puppeteer.browser.isconnected.md @@ -6,7 +6,7 @@ sidebar_label: Browser.isConnected Indicates that the browser is connected. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.md b/docs/api/puppeteer.browser.md index f56e6bc11d5..49635992038 100644 --- a/docs/api/puppeteer.browser.md +++ b/docs/api/puppeteer.browser.md @@ -6,7 +6,7 @@ sidebar_label: Browser A Browser is created when Puppeteer connects to a Chromium instance, either through [PuppeteerNode.launch()](./puppeteer.puppeteernode.launch.md) or [Puppeteer.connect()](./puppeteer.puppeteer.connect.md). -**Signature:** +#### Signature: ```typescript export declare class Browser extends EventEmitter diff --git a/docs/api/puppeteer.browser.newpage.md b/docs/api/puppeteer.browser.newpage.md index 37841600a43..4f659e3f851 100644 --- a/docs/api/puppeteer.browser.newpage.md +++ b/docs/api/puppeteer.browser.newpage.md @@ -6,7 +6,7 @@ sidebar_label: Browser.newPage Promise which resolves to a new [Page](./puppeteer.page.md) object. The Page is created in a default browser context. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.pages.md b/docs/api/puppeteer.browser.pages.md index e6c531963ec..3b136c48955 100644 --- a/docs/api/puppeteer.browser.pages.md +++ b/docs/api/puppeteer.browser.pages.md @@ -6,7 +6,7 @@ sidebar_label: Browser.pages An array of all open pages inside the Browser. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.process.md b/docs/api/puppeteer.browser.process.md index 3bd33c69551..27c794c7b45 100644 --- a/docs/api/puppeteer.browser.process.md +++ b/docs/api/puppeteer.browser.process.md @@ -6,7 +6,7 @@ sidebar_label: Browser.process The spawned browser process. Returns `null` if the browser instance was created with [Puppeteer.connect()](./puppeteer.puppeteer.connect.md). -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.target.md b/docs/api/puppeteer.browser.target.md index b4f9477bb8b..63d29b520b5 100644 --- a/docs/api/puppeteer.browser.target.md +++ b/docs/api/puppeteer.browser.target.md @@ -6,7 +6,7 @@ sidebar_label: Browser.target The target associated with the browser. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.targets.md b/docs/api/puppeteer.browser.targets.md index 522860268b3..2af3229cd86 100644 --- a/docs/api/puppeteer.browser.targets.md +++ b/docs/api/puppeteer.browser.targets.md @@ -6,7 +6,7 @@ sidebar_label: Browser.targets All active targets inside the Browser. In case of multiple browser contexts, returns an array with all the targets in all browser contexts. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.useragent.md b/docs/api/puppeteer.browser.useragent.md index 1497cf4849b..d34f16d457f 100644 --- a/docs/api/puppeteer.browser.useragent.md +++ b/docs/api/puppeteer.browser.useragent.md @@ -6,7 +6,7 @@ sidebar_label: Browser.userAgent The browser's original user agent. Pages can override the browser user agent with [Page.setUserAgent()](./puppeteer.page.setuseragent.md). -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.version.md b/docs/api/puppeteer.browser.version.md index dbd489c68dd..205732a1bbe 100644 --- a/docs/api/puppeteer.browser.version.md +++ b/docs/api/puppeteer.browser.version.md @@ -6,7 +6,7 @@ sidebar_label: Browser.version A string representing the browser name and version. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.waitfortarget.md b/docs/api/puppeteer.browser.waitfortarget.md index c8708d16560..3ed026fc7ed 100644 --- a/docs/api/puppeteer.browser.waitfortarget.md +++ b/docs/api/puppeteer.browser.waitfortarget.md @@ -6,7 +6,7 @@ sidebar_label: Browser.waitForTarget Searches for a target in all browser contexts. -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browser.wsendpoint.md b/docs/api/puppeteer.browser.wsendpoint.md index af522a6f014..4972912dbed 100644 --- a/docs/api/puppeteer.browser.wsendpoint.md +++ b/docs/api/puppeteer.browser.wsendpoint.md @@ -6,7 +6,7 @@ sidebar_label: Browser.wsEndpoint The browser websocket endpoint which can be used as an argument to [Puppeteer.connect()](./puppeteer.puppeteer.connect.md). -**Signature:** +#### Signature: ```typescript class Browser { diff --git a/docs/api/puppeteer.browserconnectoptions.defaultviewport.md b/docs/api/puppeteer.browserconnectoptions.defaultviewport.md index c3ead5be18d..7dc348e3334 100644 --- a/docs/api/puppeteer.browserconnectoptions.defaultviewport.md +++ b/docs/api/puppeteer.browserconnectoptions.defaultviewport.md @@ -6,7 +6,7 @@ sidebar_label: BrowserConnectOptions.defaultViewport Sets the viewport for each page. -**Signature:** +#### Signature: ```typescript interface BrowserConnectOptions { diff --git a/docs/api/puppeteer.browserconnectoptions.ignorehttpserrors.md b/docs/api/puppeteer.browserconnectoptions.ignorehttpserrors.md index 72534446440..94a875f8465 100644 --- a/docs/api/puppeteer.browserconnectoptions.ignorehttpserrors.md +++ b/docs/api/puppeteer.browserconnectoptions.ignorehttpserrors.md @@ -6,10 +6,14 @@ sidebar_label: BrowserConnectOptions.ignoreHTTPSErrors Whether to ignore HTTPS errors during navigation. -**Signature:** +#### Signature: ```typescript interface BrowserConnectOptions { ignoreHTTPSErrors?: boolean; } ``` + +#### Default value: + +false diff --git a/docs/api/puppeteer.browserconnectoptions.md b/docs/api/puppeteer.browserconnectoptions.md index bfcacef59cf..132fe32715d 100644 --- a/docs/api/puppeteer.browserconnectoptions.md +++ b/docs/api/puppeteer.browserconnectoptions.md @@ -6,7 +6,7 @@ sidebar_label: BrowserConnectOptions Generic browser options that can be passed when launching any browser or when connecting to an existing browser instance. -**Signature:** +#### Signature: ```typescript export interface BrowserConnectOptions @@ -14,9 +14,9 @@ export interface BrowserConnectOptions ## Properties -| Property | Modifiers | Type | Description | -| ---------------------------------------------------------------------------- | --------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| [defaultViewport?](./puppeteer.browserconnectoptions.defaultviewport.md) | | [Viewport](./puppeteer.viewport.md) \| null | (Optional) Sets the viewport for each page. | -| [ignoreHTTPSErrors?](./puppeteer.browserconnectoptions.ignorehttpserrors.md) | | boolean | (Optional) Whether to ignore HTTPS errors during navigation. | -| [slowMo?](./puppeteer.browserconnectoptions.slowmo.md) | | number | (Optional) Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. | -| [targetFilter?](./puppeteer.browserconnectoptions.targetfilter.md) | | [TargetFilterCallback](./puppeteer.targetfiltercallback.md) | (Optional) Callback to decide if Puppeteer should connect to a given target or not. | +| Property | Modifiers | Type | Description | Default | +| ---------------------------------------------------------------------------- | --------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- | +| [defaultViewport?](./puppeteer.browserconnectoptions.defaultviewport.md) | | [Viewport](./puppeteer.viewport.md) \| null | (Optional) Sets the viewport for each page. | | +| [ignoreHTTPSErrors?](./puppeteer.browserconnectoptions.ignorehttpserrors.md) | | boolean | (Optional) Whether to ignore HTTPS errors during navigation. | false | +| [slowMo?](./puppeteer.browserconnectoptions.slowmo.md) | | number | (Optional) Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. | | +| [targetFilter?](./puppeteer.browserconnectoptions.targetfilter.md) | | [TargetFilterCallback](./puppeteer.targetfiltercallback.md) | (Optional) Callback to decide if Puppeteer should connect to a given target or not. | | diff --git a/docs/api/puppeteer.browserconnectoptions.slowmo.md b/docs/api/puppeteer.browserconnectoptions.slowmo.md index b89d37a8244..59940148868 100644 --- a/docs/api/puppeteer.browserconnectoptions.slowmo.md +++ b/docs/api/puppeteer.browserconnectoptions.slowmo.md @@ -6,7 +6,7 @@ sidebar_label: BrowserConnectOptions.slowMo Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. -**Signature:** +#### Signature: ```typescript interface BrowserConnectOptions { diff --git a/docs/api/puppeteer.browserconnectoptions.targetfilter.md b/docs/api/puppeteer.browserconnectoptions.targetfilter.md index b3b16e0b21d..14c4ea4e559 100644 --- a/docs/api/puppeteer.browserconnectoptions.targetfilter.md +++ b/docs/api/puppeteer.browserconnectoptions.targetfilter.md @@ -6,7 +6,7 @@ sidebar_label: BrowserConnectOptions.targetFilter Callback to decide if Puppeteer should connect to a given target or not. -**Signature:** +#### Signature: ```typescript interface BrowserConnectOptions { diff --git a/docs/api/puppeteer.browsercontext.browser.md b/docs/api/puppeteer.browsercontext.browser.md index 1a33d29accf..57d3f79516e 100644 --- a/docs/api/puppeteer.browsercontext.browser.md +++ b/docs/api/puppeteer.browsercontext.browser.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext.browser The browser this browser context belongs to. -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.clearpermissionoverrides.md b/docs/api/puppeteer.browsercontext.clearpermissionoverrides.md index d1627f08010..9be59d2d1c3 100644 --- a/docs/api/puppeteer.browsercontext.clearpermissionoverrides.md +++ b/docs/api/puppeteer.browsercontext.clearpermissionoverrides.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext.clearPermissionOverrides Clears all permission overrides for the browser context. -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.close.md b/docs/api/puppeteer.browsercontext.close.md index f6fc7ec9f62..a96cc587928 100644 --- a/docs/api/puppeteer.browsercontext.close.md +++ b/docs/api/puppeteer.browsercontext.close.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext.close Closes the browser context. All the targets that belong to the browser context will be closed. -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.id.md b/docs/api/puppeteer.browsercontext.id.md index 852039c2042..9c095cc0584 100644 --- a/docs/api/puppeteer.browsercontext.id.md +++ b/docs/api/puppeteer.browsercontext.id.md @@ -4,7 +4,7 @@ sidebar_label: BrowserContext.id # BrowserContext.id property -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.isincognito.md b/docs/api/puppeteer.browsercontext.isincognito.md index 259925f01a7..38b7f39dd9e 100644 --- a/docs/api/puppeteer.browsercontext.isincognito.md +++ b/docs/api/puppeteer.browsercontext.isincognito.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext.isIncognito Returns whether BrowserContext is incognito. The default browser context is the only non-incognito browser context. -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.md b/docs/api/puppeteer.browsercontext.md index 995948371cd..51d3d60049b 100644 --- a/docs/api/puppeteer.browsercontext.md +++ b/docs/api/puppeteer.browsercontext.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext BrowserContexts provide a way to operate multiple independent browser sessions. When a browser is launched, it has a single BrowserContext used by default. The method [Browser.newPage](./puppeteer.browser.newpage.md) creates a page in the default browser context. -**Signature:** +#### Signature: ```typescript export declare class BrowserContext extends EventEmitter diff --git a/docs/api/puppeteer.browsercontext.newpage.md b/docs/api/puppeteer.browsercontext.newpage.md index a32b8f3baa8..83c1da98fbd 100644 --- a/docs/api/puppeteer.browsercontext.newpage.md +++ b/docs/api/puppeteer.browsercontext.newpage.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext.newPage Creates a new page in the browser context. -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.overridepermissions.md b/docs/api/puppeteer.browsercontext.overridepermissions.md index 3baa631e83a..caf2a47b660 100644 --- a/docs/api/puppeteer.browsercontext.overridepermissions.md +++ b/docs/api/puppeteer.browsercontext.overridepermissions.md @@ -4,7 +4,7 @@ sidebar_label: BrowserContext.overridePermissions # BrowserContext.overridePermissions() method -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.pages.md b/docs/api/puppeteer.browsercontext.pages.md index 02b0b3f530d..604050d72c7 100644 --- a/docs/api/puppeteer.browsercontext.pages.md +++ b/docs/api/puppeteer.browsercontext.pages.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext.pages An array of all pages inside the browser context. -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.targets.md b/docs/api/puppeteer.browsercontext.targets.md index 563b28b4415..0c3182eb293 100644 --- a/docs/api/puppeteer.browsercontext.targets.md +++ b/docs/api/puppeteer.browsercontext.targets.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext.targets An array of all active targets inside the browser context. -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontext.waitfortarget.md b/docs/api/puppeteer.browsercontext.waitfortarget.md index 0f07854c385..4ef830f63bd 100644 --- a/docs/api/puppeteer.browsercontext.waitfortarget.md +++ b/docs/api/puppeteer.browsercontext.waitfortarget.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContext.waitForTarget This searches for a target in this specific browser context. -**Signature:** +#### Signature: ```typescript class BrowserContext { diff --git a/docs/api/puppeteer.browsercontextemittedevents.md b/docs/api/puppeteer.browsercontextemittedevents.md index 045f69b8474..c395fd3f84e 100644 --- a/docs/api/puppeteer.browsercontextemittedevents.md +++ b/docs/api/puppeteer.browsercontextemittedevents.md @@ -4,7 +4,7 @@ sidebar_label: BrowserContextEmittedEvents # BrowserContextEmittedEvents enum -**Signature:** +#### Signature: ```typescript export declare const enum BrowserContextEmittedEvents diff --git a/docs/api/puppeteer.browsercontextoptions.md b/docs/api/puppeteer.browsercontextoptions.md index 0dce2f259d5..777d5714424 100644 --- a/docs/api/puppeteer.browsercontextoptions.md +++ b/docs/api/puppeteer.browsercontextoptions.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContextOptions BrowserContext options. -**Signature:** +#### Signature: ```typescript export interface BrowserContextOptions @@ -14,7 +14,7 @@ export interface BrowserContextOptions ## Properties -| Property | Modifiers | Type | Description | -| ------------------------------------------------------------------------ | --------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| [proxyBypassList?](./puppeteer.browsercontextoptions.proxybypasslist.md) | | string\[\] | (Optional) Bypass the proxy for the given list of hosts. | -| [proxyServer?](./puppeteer.browsercontextoptions.proxyserver.md) | | string | (Optional) Proxy server with optional port to use for all requests. Username and password can be set in Page.authenticate. | +| Property | Modifiers | Type | Description | Default | +| ------------------------------------------------------------------------ | --------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ------- | +| [proxyBypassList?](./puppeteer.browsercontextoptions.proxybypasslist.md) | | string\[\] | (Optional) Bypass the proxy for the given list of hosts. | | +| [proxyServer?](./puppeteer.browsercontextoptions.proxyserver.md) | | string | (Optional) Proxy server with optional port to use for all requests. Username and password can be set in Page.authenticate. | | diff --git a/docs/api/puppeteer.browsercontextoptions.proxybypasslist.md b/docs/api/puppeteer.browsercontextoptions.proxybypasslist.md index 46262d0c9dd..54ec8d2a622 100644 --- a/docs/api/puppeteer.browsercontextoptions.proxybypasslist.md +++ b/docs/api/puppeteer.browsercontextoptions.proxybypasslist.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContextOptions.proxyBypassList Bypass the proxy for the given list of hosts. -**Signature:** +#### Signature: ```typescript interface BrowserContextOptions { diff --git a/docs/api/puppeteer.browsercontextoptions.proxyserver.md b/docs/api/puppeteer.browsercontextoptions.proxyserver.md index 4ae31585a49..5c90d0059c1 100644 --- a/docs/api/puppeteer.browsercontextoptions.proxyserver.md +++ b/docs/api/puppeteer.browsercontextoptions.proxyserver.md @@ -6,7 +6,7 @@ sidebar_label: BrowserContextOptions.proxyServer Proxy server with optional port to use for all requests. Username and password can be set in `Page.authenticate`. -**Signature:** +#### Signature: ```typescript interface BrowserContextOptions { diff --git a/docs/api/puppeteer.browseremittedevents.md b/docs/api/puppeteer.browseremittedevents.md index 255ecc9967f..8d567a6f686 100644 --- a/docs/api/puppeteer.browseremittedevents.md +++ b/docs/api/puppeteer.browseremittedevents.md @@ -6,7 +6,7 @@ sidebar_label: BrowserEmittedEvents All the events a [browser instance](./puppeteer.browser.md) may emit. -**Signature:** +#### Signature: ```typescript export declare const enum BrowserEmittedEvents diff --git a/docs/api/puppeteer.browserfetcher._constructor_.md b/docs/api/puppeteer.browserfetcher._constructor_.md index 833a365a490..600a5831e7e 100644 --- a/docs/api/puppeteer.browserfetcher._constructor_.md +++ b/docs/api/puppeteer.browserfetcher._constructor_.md @@ -6,7 +6,7 @@ sidebar_label: BrowserFetcher.(constructor) Constructs a browser fetcher for the given options. -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcher.candownload.md b/docs/api/puppeteer.browserfetcher.candownload.md index 172092d6629..33422c7dadd 100644 --- a/docs/api/puppeteer.browserfetcher.candownload.md +++ b/docs/api/puppeteer.browserfetcher.candownload.md @@ -6,7 +6,7 @@ sidebar_label: BrowserFetcher.canDownload Initiates a HEAD request to check if the revision is available. -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcher.download.md b/docs/api/puppeteer.browserfetcher.download.md index 950f10f3ce1..c792c10bb96 100644 --- a/docs/api/puppeteer.browserfetcher.download.md +++ b/docs/api/puppeteer.browserfetcher.download.md @@ -6,7 +6,7 @@ sidebar_label: BrowserFetcher.download Initiates a GET request to download the revision from the host. -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcher.host.md b/docs/api/puppeteer.browserfetcher.host.md index c866ea62abe..0ecfeaf7c18 100644 --- a/docs/api/puppeteer.browserfetcher.host.md +++ b/docs/api/puppeteer.browserfetcher.host.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcher.host # BrowserFetcher.host() method -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcher.localrevisions.md b/docs/api/puppeteer.browserfetcher.localrevisions.md index f8ddd72f39a..a2a39087265 100644 --- a/docs/api/puppeteer.browserfetcher.localrevisions.md +++ b/docs/api/puppeteer.browserfetcher.localrevisions.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcher.localRevisions # BrowserFetcher.localRevisions() method -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcher.md b/docs/api/puppeteer.browserfetcher.md index 685637ee7ff..41441849784 100644 --- a/docs/api/puppeteer.browserfetcher.md +++ b/docs/api/puppeteer.browserfetcher.md @@ -6,7 +6,7 @@ sidebar_label: BrowserFetcher BrowserFetcher can download and manage different versions of Chromium and Firefox. -**Signature:** +#### Signature: ```typescript export declare class BrowserFetcher diff --git a/docs/api/puppeteer.browserfetcher.platform.md b/docs/api/puppeteer.browserfetcher.platform.md index f4db9721b73..9f3d8f74724 100644 --- a/docs/api/puppeteer.browserfetcher.platform.md +++ b/docs/api/puppeteer.browserfetcher.platform.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcher.platform # BrowserFetcher.platform() method -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcher.product.md b/docs/api/puppeteer.browserfetcher.product.md index 1219cd0e5b9..512f603461b 100644 --- a/docs/api/puppeteer.browserfetcher.product.md +++ b/docs/api/puppeteer.browserfetcher.product.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcher.product # BrowserFetcher.product() method -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcher.remove.md b/docs/api/puppeteer.browserfetcher.remove.md index 6cb2b3bf3bd..72a6b86e778 100644 --- a/docs/api/puppeteer.browserfetcher.remove.md +++ b/docs/api/puppeteer.browserfetcher.remove.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcher.remove # BrowserFetcher.remove() method -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcher.revisioninfo.md b/docs/api/puppeteer.browserfetcher.revisioninfo.md index ea18abd4a43..0e3ef698693 100644 --- a/docs/api/puppeteer.browserfetcher.revisioninfo.md +++ b/docs/api/puppeteer.browserfetcher.revisioninfo.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcher.revisionInfo # BrowserFetcher.revisionInfo() method -**Signature:** +#### Signature: ```typescript class BrowserFetcher { diff --git a/docs/api/puppeteer.browserfetcheroptions.host.md b/docs/api/puppeteer.browserfetcheroptions.host.md index fee99ed34a7..df491b7cadd 100644 --- a/docs/api/puppeteer.browserfetcheroptions.host.md +++ b/docs/api/puppeteer.browserfetcheroptions.host.md @@ -6,10 +6,16 @@ sidebar_label: BrowserFetcherOptions.host Determines the host that will be used for downloading. -**Signature:** +#### Signature: ```typescript interface BrowserFetcherOptions { host?: string; } ``` + +#### Default value: + +Either + +- https://storage.googleapis.com or - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central diff --git a/docs/api/puppeteer.browserfetcheroptions.md b/docs/api/puppeteer.browserfetcheroptions.md index aac9f900cda..e7a6ace11b1 100644 --- a/docs/api/puppeteer.browserfetcheroptions.md +++ b/docs/api/puppeteer.browserfetcheroptions.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcherOptions # BrowserFetcherOptions interface -**Signature:** +#### Signature: ```typescript export interface BrowserFetcherOptions @@ -12,10 +12,10 @@ export interface BrowserFetcherOptions ## Properties -| Property | Modifiers | Type | Description | -| ---------------------------------------------------------------------------- | --------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------ | -| [host?](./puppeteer.browserfetcheroptions.host.md) | | string | (Optional) Determines the host that will be used for downloading. | -| [path](./puppeteer.browserfetcheroptions.path.md) | | string | Determines the path to download browsers to. | -| [platform?](./puppeteer.browserfetcheroptions.platform.md) | | [Platform](./puppeteer.platform.md) | (Optional) Determines which platform the browser will be suited for. | -| [product?](./puppeteer.browserfetcheroptions.product.md) | | 'chrome' \| 'firefox' | (Optional) Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. | -| [useMacOSARMBinary?](./puppeteer.browserfetcheroptions.usemacosarmbinary.md) | | boolean | (Optional) Enables the use of the Chromium binary for macOS ARM. | +| Property | Modifiers | Type | Description | Default | +| ---------------------------------------------------------------------------- | --------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- | +| [host?](./puppeteer.browserfetcheroptions.host.md) | | 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](./puppeteer.browserfetcheroptions.path.md) | | string | Determines the path to download browsers to. | | +| [platform?](./puppeteer.browserfetcheroptions.platform.md) | | [Platform](./puppeteer.platform.md) | (Optional) Determines which platform the browser will be suited for. | Auto-detected. | +| [product?](./puppeteer.browserfetcheroptions.product.md) | | 'chrome' \| 'firefox' | (Optional) Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. | "chrome". | +| [useMacOSARMBinary?](./puppeteer.browserfetcheroptions.usemacosarmbinary.md) | | boolean | (Optional) Enables the use of the Chromium binary for macOS ARM. | | diff --git a/docs/api/puppeteer.browserfetcheroptions.path.md b/docs/api/puppeteer.browserfetcheroptions.path.md index e67cd6aceda..80f0297a4da 100644 --- a/docs/api/puppeteer.browserfetcheroptions.path.md +++ b/docs/api/puppeteer.browserfetcheroptions.path.md @@ -6,7 +6,7 @@ sidebar_label: BrowserFetcherOptions.path Determines the path to download browsers to. -**Signature:** +#### Signature: ```typescript interface BrowserFetcherOptions { diff --git a/docs/api/puppeteer.browserfetcheroptions.platform.md b/docs/api/puppeteer.browserfetcheroptions.platform.md index 5a130ecd3e2..118785d3cc2 100644 --- a/docs/api/puppeteer.browserfetcheroptions.platform.md +++ b/docs/api/puppeteer.browserfetcheroptions.platform.md @@ -6,10 +6,14 @@ sidebar_label: BrowserFetcherOptions.platform Determines which platform the browser will be suited for. -**Signature:** +#### Signature: ```typescript interface BrowserFetcherOptions { platform?: Platform; } ``` + +#### Default value: + +Auto-detected. diff --git a/docs/api/puppeteer.browserfetcheroptions.product.md b/docs/api/puppeteer.browserfetcheroptions.product.md index 10d0601200b..c2920ab2422 100644 --- a/docs/api/puppeteer.browserfetcheroptions.product.md +++ b/docs/api/puppeteer.browserfetcheroptions.product.md @@ -6,10 +6,14 @@ sidebar_label: BrowserFetcherOptions.product Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. -**Signature:** +#### Signature: ```typescript interface BrowserFetcherOptions { product?: 'chrome' | 'firefox'; } ``` + +#### Default value: + +`"chrome"`. diff --git a/docs/api/puppeteer.browserfetcheroptions.usemacosarmbinary.md b/docs/api/puppeteer.browserfetcheroptions.usemacosarmbinary.md index 87ae5ef11a3..9bd7e34f1fc 100644 --- a/docs/api/puppeteer.browserfetcheroptions.usemacosarmbinary.md +++ b/docs/api/puppeteer.browserfetcheroptions.usemacosarmbinary.md @@ -6,7 +6,7 @@ sidebar_label: BrowserFetcherOptions.useMacOSARMBinary Enables the use of the Chromium binary for macOS ARM. -**Signature:** +#### Signature: ```typescript interface BrowserFetcherOptions { diff --git a/docs/api/puppeteer.browserfetcherrevisioninfo.executablepath.md b/docs/api/puppeteer.browserfetcherrevisioninfo.executablepath.md index 2dd3218e718..51975869ace 100644 --- a/docs/api/puppeteer.browserfetcherrevisioninfo.executablepath.md +++ b/docs/api/puppeteer.browserfetcherrevisioninfo.executablepath.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcherRevisionInfo.executablePath # BrowserFetcherRevisionInfo.executablePath property -**Signature:** +#### Signature: ```typescript interface BrowserFetcherRevisionInfo { diff --git a/docs/api/puppeteer.browserfetcherrevisioninfo.folderpath.md b/docs/api/puppeteer.browserfetcherrevisioninfo.folderpath.md index afaa567cc44..7bf3266b576 100644 --- a/docs/api/puppeteer.browserfetcherrevisioninfo.folderpath.md +++ b/docs/api/puppeteer.browserfetcherrevisioninfo.folderpath.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcherRevisionInfo.folderPath # BrowserFetcherRevisionInfo.folderPath property -**Signature:** +#### Signature: ```typescript interface BrowserFetcherRevisionInfo { diff --git a/docs/api/puppeteer.browserfetcherrevisioninfo.local.md b/docs/api/puppeteer.browserfetcherrevisioninfo.local.md index 78aebaefb21..b62b4f51073 100644 --- a/docs/api/puppeteer.browserfetcherrevisioninfo.local.md +++ b/docs/api/puppeteer.browserfetcherrevisioninfo.local.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcherRevisionInfo.local # BrowserFetcherRevisionInfo.local property -**Signature:** +#### Signature: ```typescript interface BrowserFetcherRevisionInfo { diff --git a/docs/api/puppeteer.browserfetcherrevisioninfo.md b/docs/api/puppeteer.browserfetcherrevisioninfo.md index feb82cc965f..1eb8d4ea711 100644 --- a/docs/api/puppeteer.browserfetcherrevisioninfo.md +++ b/docs/api/puppeteer.browserfetcherrevisioninfo.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcherRevisionInfo # BrowserFetcherRevisionInfo interface -**Signature:** +#### Signature: ```typescript export interface BrowserFetcherRevisionInfo @@ -12,11 +12,11 @@ export interface BrowserFetcherRevisionInfo ## Properties -| Property | Modifiers | Type | Description | -| -------------------------------------------------------------------------- | --------- | ------- | ----------- | -| [executablePath](./puppeteer.browserfetcherrevisioninfo.executablepath.md) | | string | | -| [folderPath](./puppeteer.browserfetcherrevisioninfo.folderpath.md) | | string | | -| [local](./puppeteer.browserfetcherrevisioninfo.local.md) | | boolean | | -| [product](./puppeteer.browserfetcherrevisioninfo.product.md) | | string | | -| [revision](./puppeteer.browserfetcherrevisioninfo.revision.md) | | string | | -| [url](./puppeteer.browserfetcherrevisioninfo.url.md) | | string | | +| Property | Modifiers | Type | Description | Default | +| -------------------------------------------------------------------------- | --------- | ------- | ----------- | ------- | +| [executablePath](./puppeteer.browserfetcherrevisioninfo.executablepath.md) | | string | | | +| [folderPath](./puppeteer.browserfetcherrevisioninfo.folderpath.md) | | string | | | +| [local](./puppeteer.browserfetcherrevisioninfo.local.md) | | boolean | | | +| [product](./puppeteer.browserfetcherrevisioninfo.product.md) | | string | | | +| [revision](./puppeteer.browserfetcherrevisioninfo.revision.md) | | string | | | +| [url](./puppeteer.browserfetcherrevisioninfo.url.md) | | string | | | diff --git a/docs/api/puppeteer.browserfetcherrevisioninfo.product.md b/docs/api/puppeteer.browserfetcherrevisioninfo.product.md index d7a0952c1bd..62f778cbaa7 100644 --- a/docs/api/puppeteer.browserfetcherrevisioninfo.product.md +++ b/docs/api/puppeteer.browserfetcherrevisioninfo.product.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcherRevisionInfo.product # BrowserFetcherRevisionInfo.product property -**Signature:** +#### Signature: ```typescript interface BrowserFetcherRevisionInfo { diff --git a/docs/api/puppeteer.browserfetcherrevisioninfo.revision.md b/docs/api/puppeteer.browserfetcherrevisioninfo.revision.md index c9a6239011e..1577c8cd8c9 100644 --- a/docs/api/puppeteer.browserfetcherrevisioninfo.revision.md +++ b/docs/api/puppeteer.browserfetcherrevisioninfo.revision.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcherRevisionInfo.revision # BrowserFetcherRevisionInfo.revision property -**Signature:** +#### Signature: ```typescript interface BrowserFetcherRevisionInfo { diff --git a/docs/api/puppeteer.browserfetcherrevisioninfo.url.md b/docs/api/puppeteer.browserfetcherrevisioninfo.url.md index 308523614be..4d221cbc89c 100644 --- a/docs/api/puppeteer.browserfetcherrevisioninfo.url.md +++ b/docs/api/puppeteer.browserfetcherrevisioninfo.url.md @@ -4,7 +4,7 @@ sidebar_label: BrowserFetcherRevisionInfo.url # BrowserFetcherRevisionInfo.url property -**Signature:** +#### Signature: ```typescript interface BrowserFetcherRevisionInfo { diff --git a/docs/api/puppeteer.browserlaunchargumentoptions.args.md b/docs/api/puppeteer.browserlaunchargumentoptions.args.md index a5ab226a078..7fded28430b 100644 --- a/docs/api/puppeteer.browserlaunchargumentoptions.args.md +++ b/docs/api/puppeteer.browserlaunchargumentoptions.args.md @@ -6,7 +6,7 @@ sidebar_label: BrowserLaunchArgumentOptions.args Additional command line arguments to pass to the browser instance. -**Signature:** +#### Signature: ```typescript interface BrowserLaunchArgumentOptions { diff --git a/docs/api/puppeteer.browserlaunchargumentoptions.debuggingport.md b/docs/api/puppeteer.browserlaunchargumentoptions.debuggingport.md index 8cae9b31cf7..5b9affa82da 100644 --- a/docs/api/puppeteer.browserlaunchargumentoptions.debuggingport.md +++ b/docs/api/puppeteer.browserlaunchargumentoptions.debuggingport.md @@ -4,7 +4,7 @@ sidebar_label: BrowserLaunchArgumentOptions.debuggingPort # BrowserLaunchArgumentOptions.debuggingPort property -**Signature:** +#### Signature: ```typescript interface BrowserLaunchArgumentOptions { diff --git a/docs/api/puppeteer.browserlaunchargumentoptions.devtools.md b/docs/api/puppeteer.browserlaunchargumentoptions.devtools.md index 4459ff0d65f..eb8731c50e8 100644 --- a/docs/api/puppeteer.browserlaunchargumentoptions.devtools.md +++ b/docs/api/puppeteer.browserlaunchargumentoptions.devtools.md @@ -6,10 +6,14 @@ sidebar_label: BrowserLaunchArgumentOptions.devtools Whether to auto-open a DevTools panel for each tab. If this is set to `true`, then `headless` will be forced to `false`. -**Signature:** +#### Signature: ```typescript interface BrowserLaunchArgumentOptions { devtools?: boolean; } ``` + +#### Default value: + +`false` diff --git a/docs/api/puppeteer.browserlaunchargumentoptions.headless.md b/docs/api/puppeteer.browserlaunchargumentoptions.headless.md index 2a090d09f3b..aebb39fd693 100644 --- a/docs/api/puppeteer.browserlaunchargumentoptions.headless.md +++ b/docs/api/puppeteer.browserlaunchargumentoptions.headless.md @@ -6,10 +6,14 @@ sidebar_label: BrowserLaunchArgumentOptions.headless Whether to run the browser in headless mode. -**Signature:** +#### Signature: ```typescript interface BrowserLaunchArgumentOptions { headless?: boolean | 'chrome'; } ``` + +#### Default value: + +true diff --git a/docs/api/puppeteer.browserlaunchargumentoptions.md b/docs/api/puppeteer.browserlaunchargumentoptions.md index ee56708fd58..38351864eab 100644 --- a/docs/api/puppeteer.browserlaunchargumentoptions.md +++ b/docs/api/puppeteer.browserlaunchargumentoptions.md @@ -6,7 +6,7 @@ sidebar_label: BrowserLaunchArgumentOptions Launcher options that only apply to Chrome. -**Signature:** +#### Signature: ```typescript export interface BrowserLaunchArgumentOptions @@ -14,10 +14,10 @@ export interface BrowserLaunchArgumentOptions ## Properties -| Property | Modifiers | Type | Description | -| --------------------------------------------------------------------------- | --------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [args?](./puppeteer.browserlaunchargumentoptions.args.md) | | string\[\] | (Optional) Additional command line arguments to pass to the browser instance. | -| [debuggingPort?](./puppeteer.browserlaunchargumentoptions.debuggingport.md) | | number | (Optional) | -| [devtools?](./puppeteer.browserlaunchargumentoptions.devtools.md) | | boolean | (Optional) Whether to auto-open a DevTools panel for each tab. If this is set to true, then headless will be forced to false. | -| [headless?](./puppeteer.browserlaunchargumentoptions.headless.md) | | boolean \| 'chrome' | (Optional) Whether to run the browser in headless mode. | -| [userDataDir?](./puppeteer.browserlaunchargumentoptions.userdatadir.md) | | string | (Optional) Path to a user data directory. [see the Chromium docs](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md) for more info. | +| Property | Modifiers | Type | Description | Default | +| --------------------------------------------------------------------------- | --------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| [args?](./puppeteer.browserlaunchargumentoptions.args.md) | | string\[\] | (Optional) Additional command line arguments to pass to the browser instance. | | +| [debuggingPort?](./puppeteer.browserlaunchargumentoptions.debuggingport.md) | | number | (Optional) | | +| [devtools?](./puppeteer.browserlaunchargumentoptions.devtools.md) | | boolean | (Optional) Whether to auto-open a DevTools panel for each tab. If this is set to true, then headless will be forced to false. | false | +| [headless?](./puppeteer.browserlaunchargumentoptions.headless.md) | | boolean \| 'chrome' | (Optional) Whether to run the browser in headless mode. | true | +| [userDataDir?](./puppeteer.browserlaunchargumentoptions.userdatadir.md) | | string | (Optional) Path to a user data directory. [see the Chromium docs](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md) for more info. | | diff --git a/docs/api/puppeteer.browserlaunchargumentoptions.userdatadir.md b/docs/api/puppeteer.browserlaunchargumentoptions.userdatadir.md index ca039914677..a4051751cff 100644 --- a/docs/api/puppeteer.browserlaunchargumentoptions.userdatadir.md +++ b/docs/api/puppeteer.browserlaunchargumentoptions.userdatadir.md @@ -6,7 +6,7 @@ sidebar_label: BrowserLaunchArgumentOptions.userDataDir Path to a user data directory. [see the Chromium docs](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md) for more info. -**Signature:** +#### Signature: ```typescript interface BrowserLaunchArgumentOptions { diff --git a/docs/api/puppeteer.cdpsession.connection.md b/docs/api/puppeteer.cdpsession.connection.md index e05b5f6d9f9..1ad26479351 100644 --- a/docs/api/puppeteer.cdpsession.connection.md +++ b/docs/api/puppeteer.cdpsession.connection.md @@ -4,7 +4,7 @@ sidebar_label: CDPSession.connection # CDPSession.connection() method -**Signature:** +#### Signature: ```typescript class CDPSession { diff --git a/docs/api/puppeteer.cdpsession.detach.md b/docs/api/puppeteer.cdpsession.detach.md index e153ba2e7a5..932410cce7f 100644 --- a/docs/api/puppeteer.cdpsession.detach.md +++ b/docs/api/puppeteer.cdpsession.detach.md @@ -6,7 +6,7 @@ sidebar_label: CDPSession.detach Detaches the cdpSession from the target. Once detached, the cdpSession object won't emit any events and can't be used to send messages. -**Signature:** +#### Signature: ```typescript class CDPSession { diff --git a/docs/api/puppeteer.cdpsession.id.md b/docs/api/puppeteer.cdpsession.id.md index 6b28e780647..5268803fdd7 100644 --- a/docs/api/puppeteer.cdpsession.id.md +++ b/docs/api/puppeteer.cdpsession.id.md @@ -6,7 +6,7 @@ sidebar_label: CDPSession.id Returns the session's id. -**Signature:** +#### Signature: ```typescript class CDPSession { diff --git a/docs/api/puppeteer.cdpsession.md b/docs/api/puppeteer.cdpsession.md index 28e37731b06..66d086451bb 100644 --- a/docs/api/puppeteer.cdpsession.md +++ b/docs/api/puppeteer.cdpsession.md @@ -6,7 +6,7 @@ sidebar_label: CDPSession The `CDPSession` instances are used to talk raw Chrome Devtools Protocol. -**Signature:** +#### Signature: ```typescript export declare class CDPSession extends EventEmitter diff --git a/docs/api/puppeteer.cdpsession.send.md b/docs/api/puppeteer.cdpsession.send.md index 5fbe00c6bf3..61eade71152 100644 --- a/docs/api/puppeteer.cdpsession.send.md +++ b/docs/api/puppeteer.cdpsession.send.md @@ -4,7 +4,7 @@ sidebar_label: CDPSession.send # CDPSession.send() method -**Signature:** +#### Signature: ```typescript class CDPSession { diff --git a/docs/api/puppeteer.cdpsessiononmessageobject.error.md b/docs/api/puppeteer.cdpsessiononmessageobject.error.md index 72697d96b05..61fbebe7152 100644 --- a/docs/api/puppeteer.cdpsessiononmessageobject.error.md +++ b/docs/api/puppeteer.cdpsessiononmessageobject.error.md @@ -4,7 +4,7 @@ sidebar_label: CDPSessionOnMessageObject.error # CDPSessionOnMessageObject.error property -**Signature:** +#### Signature: ```typescript interface CDPSessionOnMessageObject { diff --git a/docs/api/puppeteer.cdpsessiononmessageobject.id.md b/docs/api/puppeteer.cdpsessiononmessageobject.id.md index 6b2b14aab49..13167737131 100644 --- a/docs/api/puppeteer.cdpsessiononmessageobject.id.md +++ b/docs/api/puppeteer.cdpsessiononmessageobject.id.md @@ -4,7 +4,7 @@ sidebar_label: CDPSessionOnMessageObject.id # CDPSessionOnMessageObject.id property -**Signature:** +#### Signature: ```typescript interface CDPSessionOnMessageObject { diff --git a/docs/api/puppeteer.cdpsessiononmessageobject.md b/docs/api/puppeteer.cdpsessiononmessageobject.md index f3ec87b0373..be78ad89eaf 100644 --- a/docs/api/puppeteer.cdpsessiononmessageobject.md +++ b/docs/api/puppeteer.cdpsessiononmessageobject.md @@ -4,7 +4,7 @@ sidebar_label: CDPSessionOnMessageObject # CDPSessionOnMessageObject interface -**Signature:** +#### Signature: ```typescript export interface CDPSessionOnMessageObject @@ -12,10 +12,10 @@ export interface CDPSessionOnMessageObject ## Properties -| Property | Modifiers | Type | Description | -| ---------------------------------------------------------- | --------- | --------------------------------------------- | ----------------- | -| [error](./puppeteer.cdpsessiononmessageobject.error.md) | | { message: string; data: any; code: number; } | | -| [id?](./puppeteer.cdpsessiononmessageobject.id.md) | | number | (Optional) | -| [method](./puppeteer.cdpsessiononmessageobject.method.md) | | string | | -| [params](./puppeteer.cdpsessiononmessageobject.params.md) | | Record<string, unknown> | | -| [result?](./puppeteer.cdpsessiononmessageobject.result.md) | | any | (Optional) | +| Property | Modifiers | Type | Description | Default | +| ---------------------------------------------------------- | --------- | --------------------------------------------- | ----------------- | ------- | +| [error](./puppeteer.cdpsessiononmessageobject.error.md) | | { message: string; data: any; code: number; } | | | +| [id?](./puppeteer.cdpsessiononmessageobject.id.md) | | number | (Optional) | | +| [method](./puppeteer.cdpsessiononmessageobject.method.md) | | string | | | +| [params](./puppeteer.cdpsessiononmessageobject.params.md) | | Record<string, unknown> | | | +| [result?](./puppeteer.cdpsessiononmessageobject.result.md) | | any | (Optional) | | diff --git a/docs/api/puppeteer.cdpsessiononmessageobject.method.md b/docs/api/puppeteer.cdpsessiononmessageobject.method.md index 04d9e897b7e..f1d56bf5fc5 100644 --- a/docs/api/puppeteer.cdpsessiononmessageobject.method.md +++ b/docs/api/puppeteer.cdpsessiononmessageobject.method.md @@ -4,7 +4,7 @@ sidebar_label: CDPSessionOnMessageObject.method # CDPSessionOnMessageObject.method property -**Signature:** +#### Signature: ```typescript interface CDPSessionOnMessageObject { diff --git a/docs/api/puppeteer.cdpsessiononmessageobject.params.md b/docs/api/puppeteer.cdpsessiononmessageobject.params.md index ab7f84bba89..bef12d9f19b 100644 --- a/docs/api/puppeteer.cdpsessiononmessageobject.params.md +++ b/docs/api/puppeteer.cdpsessiononmessageobject.params.md @@ -4,7 +4,7 @@ sidebar_label: CDPSessionOnMessageObject.params # CDPSessionOnMessageObject.params property -**Signature:** +#### Signature: ```typescript interface CDPSessionOnMessageObject { diff --git a/docs/api/puppeteer.cdpsessiononmessageobject.result.md b/docs/api/puppeteer.cdpsessiononmessageobject.result.md index 7097bdff4f2..788d726a3bb 100644 --- a/docs/api/puppeteer.cdpsessiononmessageobject.result.md +++ b/docs/api/puppeteer.cdpsessiononmessageobject.result.md @@ -4,7 +4,7 @@ sidebar_label: CDPSessionOnMessageObject.result # CDPSessionOnMessageObject.result property -**Signature:** +#### Signature: ```typescript interface CDPSessionOnMessageObject { diff --git a/docs/api/puppeteer.chromereleasechannel.md b/docs/api/puppeteer.chromereleasechannel.md index 3021c39d49e..e44859840f9 100644 --- a/docs/api/puppeteer.chromereleasechannel.md +++ b/docs/api/puppeteer.chromereleasechannel.md @@ -4,7 +4,7 @@ sidebar_label: ChromeReleaseChannel # ChromeReleaseChannel type -**Signature:** +#### Signature: ```typescript export declare type ChromeReleaseChannel = diff --git a/docs/api/puppeteer.clearcustomqueryhandlers.md b/docs/api/puppeteer.clearcustomqueryhandlers.md index 9c4d6c9cfb4..2d50f94d377 100644 --- a/docs/api/puppeteer.clearcustomqueryhandlers.md +++ b/docs/api/puppeteer.clearcustomqueryhandlers.md @@ -8,7 +8,7 @@ sidebar_label: clearCustomQueryHandlers > > Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.clearCustomQueryHandlers()](./puppeteer.puppeteer.clearcustomqueryhandlers.md) -**Signature:** +#### Signature: ```typescript export declare function clearCustomQueryHandlers(): void; diff --git a/docs/api/puppeteer.clickoptions.button.md b/docs/api/puppeteer.clickoptions.button.md index 38f90a938b7..a68cd2af720 100644 --- a/docs/api/puppeteer.clickoptions.button.md +++ b/docs/api/puppeteer.clickoptions.button.md @@ -4,10 +4,14 @@ sidebar_label: ClickOptions.button # ClickOptions.button property -**Signature:** +#### Signature: ```typescript interface ClickOptions { button?: MouseButton; } ``` + +#### Default value: + +'left' diff --git a/docs/api/puppeteer.clickoptions.clickcount.md b/docs/api/puppeteer.clickoptions.clickcount.md index fd60641930b..bb45f6b2396 100644 --- a/docs/api/puppeteer.clickoptions.clickcount.md +++ b/docs/api/puppeteer.clickoptions.clickcount.md @@ -4,10 +4,14 @@ sidebar_label: ClickOptions.clickCount # ClickOptions.clickCount property -**Signature:** +#### Signature: ```typescript interface ClickOptions { clickCount?: number; } ``` + +#### Default value: + +1 diff --git a/docs/api/puppeteer.clickoptions.delay.md b/docs/api/puppeteer.clickoptions.delay.md index cac255d8af5..bdf371b6672 100644 --- a/docs/api/puppeteer.clickoptions.delay.md +++ b/docs/api/puppeteer.clickoptions.delay.md @@ -6,10 +6,14 @@ sidebar_label: ClickOptions.delay Time to wait between `mousedown` and `mouseup` in milliseconds. -**Signature:** +#### Signature: ```typescript interface ClickOptions { delay?: number; } ``` + +#### Default value: + +0 diff --git a/docs/api/puppeteer.clickoptions.md b/docs/api/puppeteer.clickoptions.md index 141e177adb5..31739649036 100644 --- a/docs/api/puppeteer.clickoptions.md +++ b/docs/api/puppeteer.clickoptions.md @@ -4,7 +4,7 @@ sidebar_label: ClickOptions # ClickOptions interface -**Signature:** +#### Signature: ```typescript export interface ClickOptions @@ -12,9 +12,9 @@ export interface ClickOptions ## Properties -| Property | Modifiers | Type | Description | -| ----------------------------------------------------- | --------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| [button?](./puppeteer.clickoptions.button.md) | | [MouseButton](./puppeteer.mousebutton.md) | (Optional) | -| [clickCount?](./puppeteer.clickoptions.clickcount.md) | | number | (Optional) | -| [delay?](./puppeteer.clickoptions.delay.md) | | number | (Optional) Time to wait between mousedown and mouseup in milliseconds. | -| [offset?](./puppeteer.clickoptions.offset.md) | | [Offset](./puppeteer.offset.md) | (Optional) Offset for the clickable point relative to the top-left corner of the border box. | +| Property | Modifiers | Type | Description | Default | +| ----------------------------------------------------- | --------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------- | +| [button?](./puppeteer.clickoptions.button.md) | | [MouseButton](./puppeteer.mousebutton.md) | (Optional) | 'left' | +| [clickCount?](./puppeteer.clickoptions.clickcount.md) | | number | (Optional) | 1 | +| [delay?](./puppeteer.clickoptions.delay.md) | | number | (Optional) Time to wait between mousedown and mouseup in milliseconds. | 0 | +| [offset?](./puppeteer.clickoptions.offset.md) | | [Offset](./puppeteer.offset.md) | (Optional) Offset for the clickable point relative to the top-left corner of the border box. | | diff --git a/docs/api/puppeteer.clickoptions.offset.md b/docs/api/puppeteer.clickoptions.offset.md index a5cddb71a8c..8d4d36c144a 100644 --- a/docs/api/puppeteer.clickoptions.offset.md +++ b/docs/api/puppeteer.clickoptions.offset.md @@ -6,7 +6,7 @@ sidebar_label: ClickOptions.offset Offset for the clickable point relative to the top-left corner of the border box. -**Signature:** +#### Signature: ```typescript interface ClickOptions { diff --git a/docs/api/puppeteer.commoneventemitter.addlistener.md b/docs/api/puppeteer.commoneventemitter.addlistener.md index 021b4bf8fdc..e8282a856bd 100644 --- a/docs/api/puppeteer.commoneventemitter.addlistener.md +++ b/docs/api/puppeteer.commoneventemitter.addlistener.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter.addListener # CommonEventEmitter.addListener() method -**Signature:** +#### Signature: ```typescript interface CommonEventEmitter { diff --git a/docs/api/puppeteer.commoneventemitter.emit.md b/docs/api/puppeteer.commoneventemitter.emit.md index 631d6f7fb38..106790a9ccf 100644 --- a/docs/api/puppeteer.commoneventemitter.emit.md +++ b/docs/api/puppeteer.commoneventemitter.emit.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter.emit # CommonEventEmitter.emit() method -**Signature:** +#### Signature: ```typescript interface CommonEventEmitter { diff --git a/docs/api/puppeteer.commoneventemitter.listenercount.md b/docs/api/puppeteer.commoneventemitter.listenercount.md index fe4fdfccc61..bed60848213 100644 --- a/docs/api/puppeteer.commoneventemitter.listenercount.md +++ b/docs/api/puppeteer.commoneventemitter.listenercount.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter.listenerCount # CommonEventEmitter.listenerCount() method -**Signature:** +#### Signature: ```typescript interface CommonEventEmitter { diff --git a/docs/api/puppeteer.commoneventemitter.md b/docs/api/puppeteer.commoneventemitter.md index c3b8072996b..1dca761438b 100644 --- a/docs/api/puppeteer.commoneventemitter.md +++ b/docs/api/puppeteer.commoneventemitter.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter # CommonEventEmitter interface -**Signature:** +#### Signature: ```typescript export interface CommonEventEmitter diff --git a/docs/api/puppeteer.commoneventemitter.off.md b/docs/api/puppeteer.commoneventemitter.off.md index f9f361563fd..06c667d67c9 100644 --- a/docs/api/puppeteer.commoneventemitter.off.md +++ b/docs/api/puppeteer.commoneventemitter.off.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter.off # CommonEventEmitter.off() method -**Signature:** +#### Signature: ```typescript interface CommonEventEmitter { diff --git a/docs/api/puppeteer.commoneventemitter.on.md b/docs/api/puppeteer.commoneventemitter.on.md index bd2c4dff685..0d4609e246a 100644 --- a/docs/api/puppeteer.commoneventemitter.on.md +++ b/docs/api/puppeteer.commoneventemitter.on.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter.on # CommonEventEmitter.on() method -**Signature:** +#### Signature: ```typescript interface CommonEventEmitter { diff --git a/docs/api/puppeteer.commoneventemitter.once.md b/docs/api/puppeteer.commoneventemitter.once.md index ec8ce3bdf7f..d1595793064 100644 --- a/docs/api/puppeteer.commoneventemitter.once.md +++ b/docs/api/puppeteer.commoneventemitter.once.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter.once # CommonEventEmitter.once() method -**Signature:** +#### Signature: ```typescript interface CommonEventEmitter { diff --git a/docs/api/puppeteer.commoneventemitter.removealllisteners.md b/docs/api/puppeteer.commoneventemitter.removealllisteners.md index ae57713078c..4893e59fcb1 100644 --- a/docs/api/puppeteer.commoneventemitter.removealllisteners.md +++ b/docs/api/puppeteer.commoneventemitter.removealllisteners.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter.removeAllListeners # CommonEventEmitter.removeAllListeners() method -**Signature:** +#### Signature: ```typescript interface CommonEventEmitter { diff --git a/docs/api/puppeteer.commoneventemitter.removelistener.md b/docs/api/puppeteer.commoneventemitter.removelistener.md index fab78044224..379c3ab234f 100644 --- a/docs/api/puppeteer.commoneventemitter.removelistener.md +++ b/docs/api/puppeteer.commoneventemitter.removelistener.md @@ -4,7 +4,7 @@ sidebar_label: CommonEventEmitter.removeListener # CommonEventEmitter.removeListener() method -**Signature:** +#### Signature: ```typescript interface CommonEventEmitter { diff --git a/docs/api/puppeteer.configuration.browserrevision.md b/docs/api/puppeteer.configuration.browserrevision.md index 49b6c20c0e5..f5aae38f125 100644 --- a/docs/api/puppeteer.configuration.browserrevision.md +++ b/docs/api/puppeteer.configuration.browserrevision.md @@ -4,10 +4,20 @@ sidebar_label: Configuration.browserRevision # Configuration.browserRevision property -**Signature:** +Specifies a certain version of the browser you'd like Puppeteer to use. + +Can be overridden by `PUPPETEER_BROWSER_REVISION`. + +See [puppeteer.launch](./puppeteer.puppeteernode.launch.md) on how executable path is inferred. + +#### Signature: ```typescript interface Configuration { browserRevision?: string; } ``` + +#### Default value: + +A compatible-revision of the browser. diff --git a/docs/api/puppeteer.configuration.cachedirectory.md b/docs/api/puppeteer.configuration.cachedirectory.md index c7443b42365..0d2f2461400 100644 --- a/docs/api/puppeteer.configuration.cachedirectory.md +++ b/docs/api/puppeteer.configuration.cachedirectory.md @@ -4,10 +4,18 @@ sidebar_label: Configuration.cacheDirectory # Configuration.cacheDirectory property -**Signature:** +Defines the directory to be used by Puppeteer for caching. + +Can be overridden by `PUPPETEER_CACHE_DIR`. + +#### Signature: ```typescript interface Configuration { cacheDirectory?: string; } ``` + +#### Default value: + +`path.join(os.homedir(), '.cache', 'puppeteer')` diff --git a/docs/api/puppeteer.configuration.defaultproduct.md b/docs/api/puppeteer.configuration.defaultproduct.md index 36ffb353023..e4bf2c22749 100644 --- a/docs/api/puppeteer.configuration.defaultproduct.md +++ b/docs/api/puppeteer.configuration.defaultproduct.md @@ -4,10 +4,18 @@ sidebar_label: Configuration.defaultProduct # Configuration.defaultProduct property -**Signature:** +Specifies which browser you'd like Puppeteer to use. + +Can be overridden by `PUPPETEER_PRODUCT`. + +#### Signature: ```typescript interface Configuration { defaultProduct?: Product; } ``` + +#### Default value: + +`'chrome'` diff --git a/docs/api/puppeteer.configuration.downloadhost.md b/docs/api/puppeteer.configuration.downloadhost.md index 9b8ef482d29..9d58c5b6e08 100644 --- a/docs/api/puppeteer.configuration.downloadhost.md +++ b/docs/api/puppeteer.configuration.downloadhost.md @@ -4,10 +4,22 @@ sidebar_label: Configuration.downloadHost # Configuration.downloadHost property -**Signature:** +Specifies the URL prefix that is used to download Chromium. + +Can be overridden by `PUPPETEER_DOWNLOAD_HOST`. + +#### Signature: ```typescript interface Configuration { downloadHost?: string; } ``` + +#### Default value: + +Either https://storage.googleapis.com or https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central, depending on the product. + +## Remarks + +This must include the protocol and may even need a path prefix. diff --git a/docs/api/puppeteer.configuration.downloadpath.md b/docs/api/puppeteer.configuration.downloadpath.md index befa69132a5..56a69c17c95 100644 --- a/docs/api/puppeteer.configuration.downloadpath.md +++ b/docs/api/puppeteer.configuration.downloadpath.md @@ -4,10 +4,18 @@ sidebar_label: Configuration.downloadPath # Configuration.downloadPath property -**Signature:** +Specifies the path for the downloads folder. + +Can be overridden by `PUPPETEER_DOWNLOAD_PATH`. + +#### Signature: ```typescript interface Configuration { downloadPath?: string; } ``` + +#### Default value: + +`/` where `` is Puppeteer's cache directory and `` is the name of the browser. diff --git a/docs/api/puppeteer.configuration.executablepath.md b/docs/api/puppeteer.configuration.executablepath.md index 8c7fe082d28..63fcb001160 100644 --- a/docs/api/puppeteer.configuration.executablepath.md +++ b/docs/api/puppeteer.configuration.executablepath.md @@ -4,10 +4,18 @@ sidebar_label: Configuration.executablePath # Configuration.executablePath property -**Signature:** +Specifies an executable path to be used in [puppeteer.launch](./puppeteer.puppeteernode.launch.md). + +Can be overridden by `PUPPETEER_EXECUTABLE_PATH`. + +#### Signature: ```typescript interface Configuration { executablePath?: string; } ``` + +#### Default value: + +Auto-computed. diff --git a/docs/api/puppeteer.configuration.experiments.md b/docs/api/puppeteer.configuration.experiments.md index 9f4ea2348f8..1c0ffe8d9f5 100644 --- a/docs/api/puppeteer.configuration.experiments.md +++ b/docs/api/puppeteer.configuration.experiments.md @@ -4,12 +4,12 @@ sidebar_label: Configuration.experiments # Configuration.experiments property -**Signature:** +Defines experimental options for Puppeteer. + +#### Signature: ```typescript interface Configuration { - experiments?: { - macArmChromiumEnabled?: boolean; - }; + experiments?: ExperimentsConfiguration; } ``` diff --git a/docs/api/puppeteer.configuration.loglevel.md b/docs/api/puppeteer.configuration.loglevel.md index c66570dadfb..8d79bc5647a 100644 --- a/docs/api/puppeteer.configuration.loglevel.md +++ b/docs/api/puppeteer.configuration.loglevel.md @@ -4,10 +4,18 @@ sidebar_label: Configuration.logLevel # Configuration.logLevel property -**Signature:** +Tells Puppeteer to log at the given level. + +At the moment, any option silences logging. + +#### Signature: ```typescript interface Configuration { logLevel?: 'silent' | 'error' | 'warn'; } ``` + +#### Default value: + +`undefined` diff --git a/docs/api/puppeteer.configuration.md b/docs/api/puppeteer.configuration.md index 632baa79a8c..45252badc06 100644 --- a/docs/api/puppeteer.configuration.md +++ b/docs/api/puppeteer.configuration.md @@ -4,7 +4,11 @@ sidebar_label: Configuration # Configuration interface -**Signature:** +Defines options to configure Puppeteer's behavior during installation and runtime. + +See individual properties for more information. + +#### Signature: ```typescript export interface Configuration @@ -12,15 +16,15 @@ export interface Configuration ## Properties -| Property | Modifiers | Type | Description | -| ---------------------------------------------------------------------- | --------- | ------------------------------------ | ----------------- | -| [browserRevision?](./puppeteer.configuration.browserrevision.md) | | string | (Optional) | -| [cacheDirectory?](./puppeteer.configuration.cachedirectory.md) | | string | (Optional) | -| [defaultProduct?](./puppeteer.configuration.defaultproduct.md) | | [Product](./puppeteer.product.md) | (Optional) | -| [downloadHost?](./puppeteer.configuration.downloadhost.md) | | string | (Optional) | -| [downloadPath?](./puppeteer.configuration.downloadpath.md) | | string | (Optional) | -| [executablePath?](./puppeteer.configuration.executablepath.md) | | string | (Optional) | -| [experiments?](./puppeteer.configuration.experiments.md) | | { macArmChromiumEnabled?: boolean; } | (Optional) | -| [logLevel?](./puppeteer.configuration.loglevel.md) | | 'silent' \| 'error' \| 'warn' | (Optional) | -| [skipDownload?](./puppeteer.configuration.skipdownload.md) | | boolean | (Optional) | -| [temporaryDirectory?](./puppeteer.configuration.temporarydirectory.md) | | string | (Optional) | +| Property | Modifiers | Type | Description | Default | +| ---------------------------------------------------------------------- | --------- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [browserRevision?](./puppeteer.configuration.browserrevision.md) | | string |

(Optional) Specifies a certain version of the browser you'd like Puppeteer to use.

Can be overridden by PUPPETEER_BROWSER_REVISION.

See [puppeteer.launch](./puppeteer.puppeteernode.launch.md) on how executable path is inferred.

| A compatible-revision of the browser. | +| [cacheDirectory?](./puppeteer.configuration.cachedirectory.md) | | string |

(Optional) Defines the directory to be used by Puppeteer for caching.

Can be overridden by PUPPETEER_CACHE_DIR.

| path.join(os.homedir(), '.cache', 'puppeteer') | +| [defaultProduct?](./puppeteer.configuration.defaultproduct.md) | | [Product](./puppeteer.product.md) |

(Optional) Specifies which browser you'd like Puppeteer to use.

Can be overridden by PUPPETEER_PRODUCT.

| 'chrome' | +| [downloadHost?](./puppeteer.configuration.downloadhost.md) | | string |

(Optional) Specifies the URL prefix that is used to download Chromium.

Can be overridden by PUPPETEER_DOWNLOAD_HOST.

| Either https://storage.googleapis.com or https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central, depending on the product. | +| [downloadPath?](./puppeteer.configuration.downloadpath.md) | | string |

(Optional) Specifies the path for the downloads folder.

Can be overridden by PUPPETEER_DOWNLOAD_PATH.

| <cache>/<product> where <cache> is Puppeteer's cache directory and <product> is the name of the browser. | +| [executablePath?](./puppeteer.configuration.executablepath.md) | | string |

(Optional) Specifies an executable path to be used in [puppeteer.launch](./puppeteer.puppeteernode.launch.md).

Can be overridden by PUPPETEER_EXECUTABLE_PATH.

| Auto-computed. | +| [experiments?](./puppeteer.configuration.experiments.md) | | [ExperimentsConfiguration](./puppeteer.experimentsconfiguration.md) | (Optional) Defines experimental options for Puppeteer. | | +| [logLevel?](./puppeteer.configuration.loglevel.md) | | 'silent' \| 'error' \| 'warn' |

(Optional) Tells Puppeteer to log at the given level.

At the moment, any option silences logging.

| undefined | +| [skipDownload?](./puppeteer.configuration.skipdownload.md) | | boolean |

(Optional) Tells Puppeteer to not download during installation.

Can be overridden by PUPPETEER_SKIP_DOWNLOAD.

| | +| [temporaryDirectory?](./puppeteer.configuration.temporarydirectory.md) | | string |

(Optional) Defines the directory to be used by Puppeteer for creating temporary files.

Can be overridden by PUPPETEER_TMP_DIR.

| os.tmpdir() | diff --git a/docs/api/puppeteer.configuration.skipdownload.md b/docs/api/puppeteer.configuration.skipdownload.md index d3ef56cdcfb..d9c4c09418b 100644 --- a/docs/api/puppeteer.configuration.skipdownload.md +++ b/docs/api/puppeteer.configuration.skipdownload.md @@ -4,7 +4,11 @@ sidebar_label: Configuration.skipDownload # Configuration.skipDownload property -**Signature:** +Tells Puppeteer to not download during installation. + +Can be overridden by `PUPPETEER_SKIP_DOWNLOAD`. + +#### Signature: ```typescript interface Configuration { diff --git a/docs/api/puppeteer.configuration.temporarydirectory.md b/docs/api/puppeteer.configuration.temporarydirectory.md index 27c298aad9f..b1b130c14e6 100644 --- a/docs/api/puppeteer.configuration.temporarydirectory.md +++ b/docs/api/puppeteer.configuration.temporarydirectory.md @@ -4,10 +4,18 @@ sidebar_label: Configuration.temporaryDirectory # Configuration.temporaryDirectory property -**Signature:** +Defines the directory to be used by Puppeteer for creating temporary files. + +Can be overridden by `PUPPETEER_TMP_DIR`. + +#### Signature: ```typescript interface Configuration { temporaryDirectory?: string; } ``` + +#### Default value: + +`os.tmpdir()` diff --git a/docs/api/puppeteer.connect.md b/docs/api/puppeteer.connect.md index a2dad8d61cc..e9528d8db94 100644 --- a/docs/api/puppeteer.connect.md +++ b/docs/api/puppeteer.connect.md @@ -4,7 +4,7 @@ sidebar_label: connect # connect variable -**Signature:** +#### Signature: ```typescript connect: ( diff --git a/docs/api/puppeteer.connection._constructor_.md b/docs/api/puppeteer.connection._constructor_.md index c2d54bf4a78..3994cb81f4c 100644 --- a/docs/api/puppeteer.connection._constructor_.md +++ b/docs/api/puppeteer.connection._constructor_.md @@ -6,7 +6,7 @@ sidebar_label: Connection.(constructor) Constructs a new instance of the `Connection` class -**Signature:** +#### Signature: ```typescript class Connection { diff --git a/docs/api/puppeteer.connection.createsession.md b/docs/api/puppeteer.connection.createsession.md index f59974a1a91..4b54b6043de 100644 --- a/docs/api/puppeteer.connection.createsession.md +++ b/docs/api/puppeteer.connection.createsession.md @@ -4,7 +4,7 @@ sidebar_label: Connection.createSession # Connection.createSession() method -**Signature:** +#### Signature: ```typescript class Connection { diff --git a/docs/api/puppeteer.connection.dispose.md b/docs/api/puppeteer.connection.dispose.md index 9e8759482b1..5314f7e4e94 100644 --- a/docs/api/puppeteer.connection.dispose.md +++ b/docs/api/puppeteer.connection.dispose.md @@ -4,7 +4,7 @@ sidebar_label: Connection.dispose # Connection.dispose() method -**Signature:** +#### Signature: ```typescript class Connection { diff --git a/docs/api/puppeteer.connection.fromsession.md b/docs/api/puppeteer.connection.fromsession.md index c69aad31d02..c1cb501006a 100644 --- a/docs/api/puppeteer.connection.fromsession.md +++ b/docs/api/puppeteer.connection.fromsession.md @@ -4,7 +4,7 @@ sidebar_label: Connection.fromSession # Connection.fromSession() method -**Signature:** +#### Signature: ```typescript class Connection { diff --git a/docs/api/puppeteer.connection.md b/docs/api/puppeteer.connection.md index 4e64fb7ad19..81ccbb47952 100644 --- a/docs/api/puppeteer.connection.md +++ b/docs/api/puppeteer.connection.md @@ -4,7 +4,7 @@ sidebar_label: Connection # Connection class -**Signature:** +#### Signature: ```typescript export declare class Connection extends EventEmitter diff --git a/docs/api/puppeteer.connection.send.md b/docs/api/puppeteer.connection.send.md index 6bbfae9455a..a34deaf4387 100644 --- a/docs/api/puppeteer.connection.send.md +++ b/docs/api/puppeteer.connection.send.md @@ -4,7 +4,7 @@ sidebar_label: Connection.send # Connection.send() method -**Signature:** +#### Signature: ```typescript class Connection { diff --git a/docs/api/puppeteer.connection.session.md b/docs/api/puppeteer.connection.session.md index f047ca981b6..222f2b8ac81 100644 --- a/docs/api/puppeteer.connection.session.md +++ b/docs/api/puppeteer.connection.session.md @@ -4,7 +4,7 @@ sidebar_label: Connection.session # Connection.session() method -**Signature:** +#### Signature: ```typescript class Connection { diff --git a/docs/api/puppeteer.connection.url.md b/docs/api/puppeteer.connection.url.md index 34798c2c444..881215902cf 100644 --- a/docs/api/puppeteer.connection.url.md +++ b/docs/api/puppeteer.connection.url.md @@ -4,7 +4,7 @@ sidebar_label: Connection.url # Connection.url() method -**Signature:** +#### Signature: ```typescript class Connection { diff --git a/docs/api/puppeteer.connectioncallback.error.md b/docs/api/puppeteer.connectioncallback.error.md index 584c0ca9ead..b14ea2cd238 100644 --- a/docs/api/puppeteer.connectioncallback.error.md +++ b/docs/api/puppeteer.connectioncallback.error.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionCallback.error # ConnectionCallback.error property -**Signature:** +#### Signature: ```typescript interface ConnectionCallback { diff --git a/docs/api/puppeteer.connectioncallback.md b/docs/api/puppeteer.connectioncallback.md index fc82eff2d74..54d8d842cd0 100644 --- a/docs/api/puppeteer.connectioncallback.md +++ b/docs/api/puppeteer.connectioncallback.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionCallback # ConnectionCallback interface -**Signature:** +#### Signature: ```typescript export interface ConnectionCallback @@ -12,10 +12,10 @@ export interface ConnectionCallback ## Properties -| Property | Modifiers | Type | Description | -| -------------------------------------------------- | --------- | --------------------------------------------- | ----------- | -| [error](./puppeteer.connectioncallback.error.md) | | [ProtocolError](./puppeteer.protocolerror.md) | | -| [method](./puppeteer.connectioncallback.method.md) | | string | | +| Property | Modifiers | Type | Description | Default | +| -------------------------------------------------- | --------- | --------------------------------------------- | ----------- | ------- | +| [error](./puppeteer.connectioncallback.error.md) | | [ProtocolError](./puppeteer.protocolerror.md) | | | +| [method](./puppeteer.connectioncallback.method.md) | | string | | | ## Methods diff --git a/docs/api/puppeteer.connectioncallback.method.md b/docs/api/puppeteer.connectioncallback.method.md index f30bb6095d0..b2d3b7d8072 100644 --- a/docs/api/puppeteer.connectioncallback.method.md +++ b/docs/api/puppeteer.connectioncallback.method.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionCallback.method # ConnectionCallback.method property -**Signature:** +#### Signature: ```typescript interface ConnectionCallback { diff --git a/docs/api/puppeteer.connectioncallback.reject.md b/docs/api/puppeteer.connectioncallback.reject.md index 47a44bf4dab..17c45c5e559 100644 --- a/docs/api/puppeteer.connectioncallback.reject.md +++ b/docs/api/puppeteer.connectioncallback.reject.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionCallback.reject # ConnectionCallback.reject() method -**Signature:** +#### Signature: ```typescript interface ConnectionCallback { diff --git a/docs/api/puppeteer.connectioncallback.resolve.md b/docs/api/puppeteer.connectioncallback.resolve.md index 07e1aee38ce..09aa208f4b3 100644 --- a/docs/api/puppeteer.connectioncallback.resolve.md +++ b/docs/api/puppeteer.connectioncallback.resolve.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionCallback.resolve # ConnectionCallback.resolve() method -**Signature:** +#### Signature: ```typescript interface ConnectionCallback { diff --git a/docs/api/puppeteer.connectiontransport.close.md b/docs/api/puppeteer.connectiontransport.close.md index 964ee5997c5..5c25278c791 100644 --- a/docs/api/puppeteer.connectiontransport.close.md +++ b/docs/api/puppeteer.connectiontransport.close.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionTransport.close # ConnectionTransport.close() method -**Signature:** +#### Signature: ```typescript interface ConnectionTransport { diff --git a/docs/api/puppeteer.connectiontransport.md b/docs/api/puppeteer.connectiontransport.md index 761a15fbc11..16943b8fffe 100644 --- a/docs/api/puppeteer.connectiontransport.md +++ b/docs/api/puppeteer.connectiontransport.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionTransport # ConnectionTransport interface -**Signature:** +#### Signature: ```typescript export interface ConnectionTransport @@ -12,10 +12,10 @@ export interface ConnectionTransport ## Properties -| Property | Modifiers | Type | Description | -| ---------------------------------------------------------- | --------- | ---------------------------- | ----------------- | -| [onclose?](./puppeteer.connectiontransport.onclose.md) | | () => void | (Optional) | -| [onmessage?](./puppeteer.connectiontransport.onmessage.md) | | (message: string) => void | (Optional) | +| Property | Modifiers | Type | Description | Default | +| ---------------------------------------------------------- | --------- | ---------------------------- | ----------------- | ------- | +| [onclose?](./puppeteer.connectiontransport.onclose.md) | | () => void | (Optional) | | +| [onmessage?](./puppeteer.connectiontransport.onmessage.md) | | (message: string) => void | (Optional) | | ## Methods diff --git a/docs/api/puppeteer.connectiontransport.onclose.md b/docs/api/puppeteer.connectiontransport.onclose.md index 1bda6671530..983a0efd791 100644 --- a/docs/api/puppeteer.connectiontransport.onclose.md +++ b/docs/api/puppeteer.connectiontransport.onclose.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionTransport.onclose # ConnectionTransport.onclose property -**Signature:** +#### Signature: ```typescript interface ConnectionTransport { diff --git a/docs/api/puppeteer.connectiontransport.onmessage.md b/docs/api/puppeteer.connectiontransport.onmessage.md index c85de25d7b0..f1e075f975f 100644 --- a/docs/api/puppeteer.connectiontransport.onmessage.md +++ b/docs/api/puppeteer.connectiontransport.onmessage.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionTransport.onmessage # ConnectionTransport.onmessage property -**Signature:** +#### Signature: ```typescript interface ConnectionTransport { diff --git a/docs/api/puppeteer.connectiontransport.send.md b/docs/api/puppeteer.connectiontransport.send.md index 60ddf8fb72e..33e4407bade 100644 --- a/docs/api/puppeteer.connectiontransport.send.md +++ b/docs/api/puppeteer.connectiontransport.send.md @@ -4,7 +4,7 @@ sidebar_label: ConnectionTransport.send # ConnectionTransport.send() method -**Signature:** +#### Signature: ```typescript interface ConnectionTransport { diff --git a/docs/api/puppeteer.connectoptions.browserurl.md b/docs/api/puppeteer.connectoptions.browserurl.md index 0c16cc5c677..a5c798b205b 100644 --- a/docs/api/puppeteer.connectoptions.browserurl.md +++ b/docs/api/puppeteer.connectoptions.browserurl.md @@ -4,7 +4,7 @@ sidebar_label: ConnectOptions.browserURL # ConnectOptions.browserURL property -**Signature:** +#### Signature: ```typescript interface ConnectOptions { diff --git a/docs/api/puppeteer.connectoptions.browserwsendpoint.md b/docs/api/puppeteer.connectoptions.browserwsendpoint.md index 80374e2f257..fe62e7cf85b 100644 --- a/docs/api/puppeteer.connectoptions.browserwsendpoint.md +++ b/docs/api/puppeteer.connectoptions.browserwsendpoint.md @@ -4,7 +4,7 @@ sidebar_label: ConnectOptions.browserWSEndpoint # ConnectOptions.browserWSEndpoint property -**Signature:** +#### Signature: ```typescript interface ConnectOptions { diff --git a/docs/api/puppeteer.connectoptions.md b/docs/api/puppeteer.connectoptions.md index fa3b691afc7..84e5a50ec9b 100644 --- a/docs/api/puppeteer.connectoptions.md +++ b/docs/api/puppeteer.connectoptions.md @@ -4,7 +4,7 @@ sidebar_label: ConnectOptions # ConnectOptions interface -**Signature:** +#### Signature: ```typescript export interface ConnectOptions extends BrowserConnectOptions @@ -14,8 +14,8 @@ export interface ConnectOptions extends BrowserConnectOptions ## Properties -| Property | Modifiers | Type | Description | -| --------------------------------------------------------------------- | --------- | --------------------------------------------------------- | ----------------- | -| [browserURL?](./puppeteer.connectoptions.browserurl.md) | | string | (Optional) | -| [browserWSEndpoint?](./puppeteer.connectoptions.browserwsendpoint.md) | | string | (Optional) | -| [transport?](./puppeteer.connectoptions.transport.md) | | [ConnectionTransport](./puppeteer.connectiontransport.md) | (Optional) | +| Property | Modifiers | Type | Description | Default | +| --------------------------------------------------------------------- | --------- | --------------------------------------------------------- | ----------------- | ------- | +| [browserURL?](./puppeteer.connectoptions.browserurl.md) | | string | (Optional) | | +| [browserWSEndpoint?](./puppeteer.connectoptions.browserwsendpoint.md) | | string | (Optional) | | +| [transport?](./puppeteer.connectoptions.transport.md) | | [ConnectionTransport](./puppeteer.connectiontransport.md) | (Optional) | | diff --git a/docs/api/puppeteer.connectoptions.transport.md b/docs/api/puppeteer.connectoptions.transport.md index d3faf62883d..d251fb8cb95 100644 --- a/docs/api/puppeteer.connectoptions.transport.md +++ b/docs/api/puppeteer.connectoptions.transport.md @@ -4,7 +4,7 @@ sidebar_label: ConnectOptions.transport # ConnectOptions.transport property -**Signature:** +#### Signature: ```typescript interface ConnectOptions { diff --git a/docs/api/puppeteer.consolemessage._constructor_.md b/docs/api/puppeteer.consolemessage._constructor_.md index 4614d2bed50..6e45d0788e4 100644 --- a/docs/api/puppeteer.consolemessage._constructor_.md +++ b/docs/api/puppeteer.consolemessage._constructor_.md @@ -6,7 +6,7 @@ sidebar_label: ConsoleMessage.(constructor) Constructs a new instance of the `ConsoleMessage` class -**Signature:** +#### Signature: ```typescript class ConsoleMessage { diff --git a/docs/api/puppeteer.consolemessage.args.md b/docs/api/puppeteer.consolemessage.args.md index 20400631772..565fd6bc537 100644 --- a/docs/api/puppeteer.consolemessage.args.md +++ b/docs/api/puppeteer.consolemessage.args.md @@ -4,7 +4,7 @@ sidebar_label: ConsoleMessage.args # ConsoleMessage.args() method -**Signature:** +#### Signature: ```typescript class ConsoleMessage { diff --git a/docs/api/puppeteer.consolemessage.location.md b/docs/api/puppeteer.consolemessage.location.md index 009e12bb58a..d26c80b5e00 100644 --- a/docs/api/puppeteer.consolemessage.location.md +++ b/docs/api/puppeteer.consolemessage.location.md @@ -4,7 +4,7 @@ sidebar_label: ConsoleMessage.location # ConsoleMessage.location() method -**Signature:** +#### Signature: ```typescript class ConsoleMessage { diff --git a/docs/api/puppeteer.consolemessage.md b/docs/api/puppeteer.consolemessage.md index b5b0818ddeb..86ed1c0efe1 100644 --- a/docs/api/puppeteer.consolemessage.md +++ b/docs/api/puppeteer.consolemessage.md @@ -6,7 +6,7 @@ sidebar_label: ConsoleMessage ConsoleMessage objects are dispatched by page via the 'console' event. -**Signature:** +#### Signature: ```typescript export declare class ConsoleMessage diff --git a/docs/api/puppeteer.consolemessage.stacktrace.md b/docs/api/puppeteer.consolemessage.stacktrace.md index 0dbd6997130..f589b9aed3a 100644 --- a/docs/api/puppeteer.consolemessage.stacktrace.md +++ b/docs/api/puppeteer.consolemessage.stacktrace.md @@ -4,7 +4,7 @@ sidebar_label: ConsoleMessage.stackTrace # ConsoleMessage.stackTrace() method -**Signature:** +#### Signature: ```typescript class ConsoleMessage { diff --git a/docs/api/puppeteer.consolemessage.text.md b/docs/api/puppeteer.consolemessage.text.md index b757bee5e79..4e86e4651b4 100644 --- a/docs/api/puppeteer.consolemessage.text.md +++ b/docs/api/puppeteer.consolemessage.text.md @@ -4,7 +4,7 @@ sidebar_label: ConsoleMessage.text # ConsoleMessage.text() method -**Signature:** +#### Signature: ```typescript class ConsoleMessage { diff --git a/docs/api/puppeteer.consolemessage.type.md b/docs/api/puppeteer.consolemessage.type.md index 4e473ce7c8d..9f0224a248b 100644 --- a/docs/api/puppeteer.consolemessage.type.md +++ b/docs/api/puppeteer.consolemessage.type.md @@ -4,7 +4,7 @@ sidebar_label: ConsoleMessage.type # ConsoleMessage.type() method -**Signature:** +#### Signature: ```typescript class ConsoleMessage { diff --git a/docs/api/puppeteer.consolemessagelocation.columnnumber.md b/docs/api/puppeteer.consolemessagelocation.columnnumber.md index 147b26db5ee..ebc06e2e7bf 100644 --- a/docs/api/puppeteer.consolemessagelocation.columnnumber.md +++ b/docs/api/puppeteer.consolemessagelocation.columnnumber.md @@ -6,7 +6,7 @@ sidebar_label: ConsoleMessageLocation.columnNumber 0-based column number in the resource if known or `undefined` otherwise. -**Signature:** +#### Signature: ```typescript interface ConsoleMessageLocation { diff --git a/docs/api/puppeteer.consolemessagelocation.linenumber.md b/docs/api/puppeteer.consolemessagelocation.linenumber.md index a1a1a3d41be..75e34b99f1b 100644 --- a/docs/api/puppeteer.consolemessagelocation.linenumber.md +++ b/docs/api/puppeteer.consolemessagelocation.linenumber.md @@ -6,7 +6,7 @@ sidebar_label: ConsoleMessageLocation.lineNumber 0-based line number in the resource if known or `undefined` otherwise. -**Signature:** +#### Signature: ```typescript interface ConsoleMessageLocation { diff --git a/docs/api/puppeteer.consolemessagelocation.md b/docs/api/puppeteer.consolemessagelocation.md index 15aa75d8b51..8ea60b8b536 100644 --- a/docs/api/puppeteer.consolemessagelocation.md +++ b/docs/api/puppeteer.consolemessagelocation.md @@ -4,7 +4,7 @@ sidebar_label: ConsoleMessageLocation # ConsoleMessageLocation interface -**Signature:** +#### Signature: ```typescript export interface ConsoleMessageLocation @@ -12,8 +12,8 @@ export interface ConsoleMessageLocation ## Properties -| Property | Modifiers | Type | Description | -| ------------------------------------------------------------------- | --------- | ------ | ----------------------------------------------------------------------------------------------------- | -| [columnNumber?](./puppeteer.consolemessagelocation.columnnumber.md) | | number | (Optional) 0-based column number in the resource if known or undefined otherwise. | -| [lineNumber?](./puppeteer.consolemessagelocation.linenumber.md) | | number | (Optional) 0-based line number in the resource if known or undefined otherwise. | -| [url?](./puppeteer.consolemessagelocation.url.md) | | string | (Optional) URL of the resource if known or undefined otherwise. | +| Property | Modifiers | Type | Description | Default | +| ------------------------------------------------------------------- | --------- | ------ | ----------------------------------------------------------------------------------------------------- | ------- | +| [columnNumber?](./puppeteer.consolemessagelocation.columnnumber.md) | | number | (Optional) 0-based column number in the resource if known or undefined otherwise. | | +| [lineNumber?](./puppeteer.consolemessagelocation.linenumber.md) | | number | (Optional) 0-based line number in the resource if known or undefined otherwise. | | +| [url?](./puppeteer.consolemessagelocation.url.md) | | string | (Optional) URL of the resource if known or undefined otherwise. | | diff --git a/docs/api/puppeteer.consolemessagelocation.url.md b/docs/api/puppeteer.consolemessagelocation.url.md index 0e460007864..11cbded0f9f 100644 --- a/docs/api/puppeteer.consolemessagelocation.url.md +++ b/docs/api/puppeteer.consolemessagelocation.url.md @@ -6,7 +6,7 @@ sidebar_label: ConsoleMessageLocation.url URL of the resource if known or `undefined` otherwise. -**Signature:** +#### Signature: ```typescript interface ConsoleMessageLocation { diff --git a/docs/api/puppeteer.consolemessagetype.md b/docs/api/puppeteer.consolemessagetype.md index 295ea8fd474..de67abc48f2 100644 --- a/docs/api/puppeteer.consolemessagetype.md +++ b/docs/api/puppeteer.consolemessagetype.md @@ -6,7 +6,7 @@ sidebar_label: ConsoleMessageType The supported types for console messages. -**Signature:** +#### Signature: ```typescript export declare type ConsoleMessageType = diff --git a/docs/api/puppeteer.continuerequestoverrides.headers.md b/docs/api/puppeteer.continuerequestoverrides.headers.md index fd0816cd8c7..22b68e5e9c6 100644 --- a/docs/api/puppeteer.continuerequestoverrides.headers.md +++ b/docs/api/puppeteer.continuerequestoverrides.headers.md @@ -4,7 +4,7 @@ sidebar_label: ContinueRequestOverrides.headers # ContinueRequestOverrides.headers property -**Signature:** +#### Signature: ```typescript interface ContinueRequestOverrides { diff --git a/docs/api/puppeteer.continuerequestoverrides.md b/docs/api/puppeteer.continuerequestoverrides.md index ce2ed1b0170..427170ee938 100644 --- a/docs/api/puppeteer.continuerequestoverrides.md +++ b/docs/api/puppeteer.continuerequestoverrides.md @@ -4,7 +4,7 @@ sidebar_label: ContinueRequestOverrides # ContinueRequestOverrides interface -**Signature:** +#### Signature: ```typescript export interface ContinueRequestOverrides @@ -12,9 +12,9 @@ export interface ContinueRequestOverrides ## Properties -| Property | Modifiers | Type | Description | -| ------------------------------------------------------------- | --------- | ---------------------------- | ------------------------------------------------------------------------------ | -| [headers?](./puppeteer.continuerequestoverrides.headers.md) | | Record<string, string> | (Optional) | -| [method?](./puppeteer.continuerequestoverrides.method.md) | | string | (Optional) | -| [postData?](./puppeteer.continuerequestoverrides.postdata.md) | | string | (Optional) | -| [url?](./puppeteer.continuerequestoverrides.url.md) | | string | (Optional) If set, the request URL will change. This is not a redirect. | +| Property | Modifiers | Type | Description | Default | +| ------------------------------------------------------------- | --------- | ---------------------------- | ------------------------------------------------------------------------------ | ------- | +| [headers?](./puppeteer.continuerequestoverrides.headers.md) | | Record<string, string> | (Optional) | | +| [method?](./puppeteer.continuerequestoverrides.method.md) | | string | (Optional) | | +| [postData?](./puppeteer.continuerequestoverrides.postdata.md) | | string | (Optional) | | +| [url?](./puppeteer.continuerequestoverrides.url.md) | | string | (Optional) If set, the request URL will change. This is not a redirect. | | diff --git a/docs/api/puppeteer.continuerequestoverrides.method.md b/docs/api/puppeteer.continuerequestoverrides.method.md index 10b6fa43085..5bd9e4587f8 100644 --- a/docs/api/puppeteer.continuerequestoverrides.method.md +++ b/docs/api/puppeteer.continuerequestoverrides.method.md @@ -4,7 +4,7 @@ sidebar_label: ContinueRequestOverrides.method # ContinueRequestOverrides.method property -**Signature:** +#### Signature: ```typescript interface ContinueRequestOverrides { diff --git a/docs/api/puppeteer.continuerequestoverrides.postdata.md b/docs/api/puppeteer.continuerequestoverrides.postdata.md index bb27166a2a3..e4ba78338ef 100644 --- a/docs/api/puppeteer.continuerequestoverrides.postdata.md +++ b/docs/api/puppeteer.continuerequestoverrides.postdata.md @@ -4,7 +4,7 @@ sidebar_label: ContinueRequestOverrides.postData # ContinueRequestOverrides.postData property -**Signature:** +#### Signature: ```typescript interface ContinueRequestOverrides { diff --git a/docs/api/puppeteer.continuerequestoverrides.url.md b/docs/api/puppeteer.continuerequestoverrides.url.md index b5d92a3da34..bed6789600c 100644 --- a/docs/api/puppeteer.continuerequestoverrides.url.md +++ b/docs/api/puppeteer.continuerequestoverrides.url.md @@ -6,7 +6,7 @@ sidebar_label: ContinueRequestOverrides.url If set, the request URL will change. This is not a redirect. -**Signature:** +#### Signature: ```typescript interface ContinueRequestOverrides { diff --git a/docs/api/puppeteer.coverage._constructor_.md b/docs/api/puppeteer.coverage._constructor_.md index bd805209530..61d0a0f5828 100644 --- a/docs/api/puppeteer.coverage._constructor_.md +++ b/docs/api/puppeteer.coverage._constructor_.md @@ -6,7 +6,7 @@ sidebar_label: Coverage.(constructor) Constructs a new instance of the `Coverage` class -**Signature:** +#### Signature: ```typescript class Coverage { diff --git a/docs/api/puppeteer.coverage.md b/docs/api/puppeteer.coverage.md index 433355abca5..f0ac68faa13 100644 --- a/docs/api/puppeteer.coverage.md +++ b/docs/api/puppeteer.coverage.md @@ -6,7 +6,7 @@ sidebar_label: Coverage The Coverage class provides methods to gathers information about parts of JavaScript and CSS that were used by the page. -**Signature:** +#### Signature: ```typescript export declare class Coverage diff --git a/docs/api/puppeteer.coverage.startcsscoverage.md b/docs/api/puppeteer.coverage.startcsscoverage.md index 59597829074..33da927ba6c 100644 --- a/docs/api/puppeteer.coverage.startcsscoverage.md +++ b/docs/api/puppeteer.coverage.startcsscoverage.md @@ -4,7 +4,7 @@ sidebar_label: Coverage.startCSSCoverage # Coverage.startCSSCoverage() method -**Signature:** +#### Signature: ```typescript class Coverage { diff --git a/docs/api/puppeteer.coverage.startjscoverage.md b/docs/api/puppeteer.coverage.startjscoverage.md index b6ceb758ed4..1a27c8e88b3 100644 --- a/docs/api/puppeteer.coverage.startjscoverage.md +++ b/docs/api/puppeteer.coverage.startjscoverage.md @@ -4,7 +4,7 @@ sidebar_label: Coverage.startJSCoverage # Coverage.startJSCoverage() method -**Signature:** +#### Signature: ```typescript class Coverage { diff --git a/docs/api/puppeteer.coverage.stopcsscoverage.md b/docs/api/puppeteer.coverage.stopcsscoverage.md index 51b1bdc4a2b..db43fab553b 100644 --- a/docs/api/puppeteer.coverage.stopcsscoverage.md +++ b/docs/api/puppeteer.coverage.stopcsscoverage.md @@ -4,7 +4,7 @@ sidebar_label: Coverage.stopCSSCoverage # Coverage.stopCSSCoverage() method -**Signature:** +#### Signature: ```typescript class Coverage { diff --git a/docs/api/puppeteer.coverage.stopjscoverage.md b/docs/api/puppeteer.coverage.stopjscoverage.md index 2ceeb5e112d..996db5c5bb7 100644 --- a/docs/api/puppeteer.coverage.stopjscoverage.md +++ b/docs/api/puppeteer.coverage.stopjscoverage.md @@ -4,7 +4,7 @@ sidebar_label: Coverage.stopJSCoverage # Coverage.stopJSCoverage() method -**Signature:** +#### Signature: ```typescript class Coverage { diff --git a/docs/api/puppeteer.coverageentry.md b/docs/api/puppeteer.coverageentry.md index 1833f9320d2..72e450362cf 100644 --- a/docs/api/puppeteer.coverageentry.md +++ b/docs/api/puppeteer.coverageentry.md @@ -6,7 +6,7 @@ sidebar_label: CoverageEntry The CoverageEntry class represents one entry of the coverage report. -**Signature:** +#### Signature: ```typescript export interface CoverageEntry @@ -14,8 +14,8 @@ export interface CoverageEntry ## Properties -| Property | Modifiers | Type | Description | -| --------------------------------------------- | --------- | -------------------------------------------- | --------------------------------------------- | -| [ranges](./puppeteer.coverageentry.ranges.md) | | Array<{ start: number; end: number; }> | The covered range as start and end positions. | -| [text](./puppeteer.coverageentry.text.md) | | string | The content of the style sheet or script. | -| [url](./puppeteer.coverageentry.url.md) | | string | The URL of the style sheet or script. | +| Property | Modifiers | Type | Description | Default | +| --------------------------------------------- | --------- | -------------------------------------------- | --------------------------------------------- | ------- | +| [ranges](./puppeteer.coverageentry.ranges.md) | | Array<{ start: number; end: number; }> | The covered range as start and end positions. | | +| [text](./puppeteer.coverageentry.text.md) | | string | The content of the style sheet or script. | | +| [url](./puppeteer.coverageentry.url.md) | | string | The URL of the style sheet or script. | | diff --git a/docs/api/puppeteer.coverageentry.ranges.md b/docs/api/puppeteer.coverageentry.ranges.md index 18dbd743d24..4420c1a7349 100644 --- a/docs/api/puppeteer.coverageentry.ranges.md +++ b/docs/api/puppeteer.coverageentry.ranges.md @@ -6,7 +6,7 @@ sidebar_label: CoverageEntry.ranges The covered range as start and end positions. -**Signature:** +#### Signature: ```typescript interface CoverageEntry { diff --git a/docs/api/puppeteer.coverageentry.text.md b/docs/api/puppeteer.coverageentry.text.md index 0fde8e6544d..e679e0e1dae 100644 --- a/docs/api/puppeteer.coverageentry.text.md +++ b/docs/api/puppeteer.coverageentry.text.md @@ -6,7 +6,7 @@ sidebar_label: CoverageEntry.text The content of the style sheet or script. -**Signature:** +#### Signature: ```typescript interface CoverageEntry { diff --git a/docs/api/puppeteer.coverageentry.url.md b/docs/api/puppeteer.coverageentry.url.md index 4a2d4ed209e..b83a21cdc89 100644 --- a/docs/api/puppeteer.coverageentry.url.md +++ b/docs/api/puppeteer.coverageentry.url.md @@ -6,7 +6,7 @@ sidebar_label: CoverageEntry.url The URL of the style sheet or script. -**Signature:** +#### Signature: ```typescript interface CoverageEntry { diff --git a/docs/api/puppeteer.createbrowserfetcher.md b/docs/api/puppeteer.createbrowserfetcher.md index 62b786c57d0..79de34721ce 100644 --- a/docs/api/puppeteer.createbrowserfetcher.md +++ b/docs/api/puppeteer.createbrowserfetcher.md @@ -4,7 +4,7 @@ sidebar_label: createBrowserFetcher # createBrowserFetcher variable -**Signature:** +#### Signature: ```typescript createBrowserFetcher: ( diff --git a/docs/api/puppeteer.credentials.md b/docs/api/puppeteer.credentials.md index 6c579e44e75..d9a6e66489b 100644 --- a/docs/api/puppeteer.credentials.md +++ b/docs/api/puppeteer.credentials.md @@ -4,7 +4,7 @@ sidebar_label: Credentials # Credentials interface -**Signature:** +#### Signature: ```typescript export interface Credentials @@ -12,7 +12,7 @@ export interface Credentials ## Properties -| Property | Modifiers | Type | Description | -| ----------------------------------------------- | --------- | ------ | ----------- | -| [password](./puppeteer.credentials.password.md) | | string | | -| [username](./puppeteer.credentials.username.md) | | string | | +| Property | Modifiers | Type | Description | Default | +| ----------------------------------------------- | --------- | ------ | ----------- | ------- | +| [password](./puppeteer.credentials.password.md) | | string | | | +| [username](./puppeteer.credentials.username.md) | | string | | | diff --git a/docs/api/puppeteer.credentials.password.md b/docs/api/puppeteer.credentials.password.md index 6407abd94b5..7251de0c971 100644 --- a/docs/api/puppeteer.credentials.password.md +++ b/docs/api/puppeteer.credentials.password.md @@ -4,7 +4,7 @@ sidebar_label: Credentials.password # Credentials.password property -**Signature:** +#### Signature: ```typescript interface Credentials { diff --git a/docs/api/puppeteer.credentials.username.md b/docs/api/puppeteer.credentials.username.md index bbe2fa694d0..90b70ae130d 100644 --- a/docs/api/puppeteer.credentials.username.md +++ b/docs/api/puppeteer.credentials.username.md @@ -4,7 +4,7 @@ sidebar_label: Credentials.username # Credentials.username property -**Signature:** +#### Signature: ```typescript interface Credentials { diff --git a/docs/api/puppeteer.csscoverage._constructor_.md b/docs/api/puppeteer.csscoverage._constructor_.md index ef61f54ba2d..a3f72b8b8d4 100644 --- a/docs/api/puppeteer.csscoverage._constructor_.md +++ b/docs/api/puppeteer.csscoverage._constructor_.md @@ -6,7 +6,7 @@ sidebar_label: CSSCoverage.(constructor) Constructs a new instance of the `CSSCoverage` class -**Signature:** +#### Signature: ```typescript class CSSCoverage { diff --git a/docs/api/puppeteer.csscoverage.md b/docs/api/puppeteer.csscoverage.md index e9c632dba4f..a75a886a975 100644 --- a/docs/api/puppeteer.csscoverage.md +++ b/docs/api/puppeteer.csscoverage.md @@ -4,7 +4,7 @@ sidebar_label: CSSCoverage # CSSCoverage class -**Signature:** +#### Signature: ```typescript export declare class CSSCoverage diff --git a/docs/api/puppeteer.csscoverage.start.md b/docs/api/puppeteer.csscoverage.start.md index 2bd4dfd8e96..65912236083 100644 --- a/docs/api/puppeteer.csscoverage.start.md +++ b/docs/api/puppeteer.csscoverage.start.md @@ -4,7 +4,7 @@ sidebar_label: CSSCoverage.start # CSSCoverage.start() method -**Signature:** +#### Signature: ```typescript class CSSCoverage { diff --git a/docs/api/puppeteer.csscoverage.stop.md b/docs/api/puppeteer.csscoverage.stop.md index 5f9261d9764..ec0d12bd34b 100644 --- a/docs/api/puppeteer.csscoverage.stop.md +++ b/docs/api/puppeteer.csscoverage.stop.md @@ -4,7 +4,7 @@ sidebar_label: CSSCoverage.stop # CSSCoverage.stop() method -**Signature:** +#### Signature: ```typescript class CSSCoverage { diff --git a/docs/api/puppeteer.csscoverageoptions.md b/docs/api/puppeteer.csscoverageoptions.md index 64f7b660669..301d560c5a2 100644 --- a/docs/api/puppeteer.csscoverageoptions.md +++ b/docs/api/puppeteer.csscoverageoptions.md @@ -6,7 +6,7 @@ sidebar_label: CSSCoverageOptions Set of configurable options for CSS coverage. -**Signature:** +#### Signature: ```typescript export interface CSSCoverageOptions @@ -14,6 +14,6 @@ export interface CSSCoverageOptions ## Properties -| Property | Modifiers | Type | Description | -| ------------------------------------------------------------------------- | --------- | ------- | ---------------------------------------------------------------- | -| [resetOnNavigation?](./puppeteer.csscoverageoptions.resetonnavigation.md) | | boolean | (Optional) Whether to reset coverage on every navigation. | +| Property | Modifiers | Type | Description | Default | +| ------------------------------------------------------------------------- | --------- | ------- | ---------------------------------------------------------------- | ------- | +| [resetOnNavigation?](./puppeteer.csscoverageoptions.resetonnavigation.md) | | boolean | (Optional) Whether to reset coverage on every navigation. | | diff --git a/docs/api/puppeteer.csscoverageoptions.resetonnavigation.md b/docs/api/puppeteer.csscoverageoptions.resetonnavigation.md index a559bde6767..5fd1da4195c 100644 --- a/docs/api/puppeteer.csscoverageoptions.resetonnavigation.md +++ b/docs/api/puppeteer.csscoverageoptions.resetonnavigation.md @@ -6,7 +6,7 @@ sidebar_label: CSSCoverageOptions.resetOnNavigation Whether to reset coverage on every navigation. -**Signature:** +#### Signature: ```typescript interface CSSCoverageOptions { diff --git a/docs/api/puppeteer.customerror.md b/docs/api/puppeteer.customerror.md index 0fc5796e804..e63e243516e 100644 --- a/docs/api/puppeteer.customerror.md +++ b/docs/api/puppeteer.customerror.md @@ -8,7 +8,7 @@ sidebar_label: CustomError > > Do not use. -**Signature:** +#### Signature: ```typescript export declare class CustomError extends Error diff --git a/docs/api/puppeteer.customqueryhandler.md b/docs/api/puppeteer.customqueryhandler.md index 67e1123a24a..a18849dc6b0 100644 --- a/docs/api/puppeteer.customqueryhandler.md +++ b/docs/api/puppeteer.customqueryhandler.md @@ -4,7 +4,7 @@ sidebar_label: CustomQueryHandler # CustomQueryHandler interface -**Signature:** +#### Signature: ```typescript export interface CustomQueryHandler @@ -12,7 +12,7 @@ export interface CustomQueryHandler ## Properties -| Property | Modifiers | Type | Description | -| ------------------------------------------------------- | --------- | ------------------------------------------------- | ----------------- | -| [queryAll?](./puppeteer.customqueryhandler.queryall.md) | | (node: Node, selector: string) => Node\[\] | (Optional) | -| [queryOne?](./puppeteer.customqueryhandler.queryone.md) | | (node: Node, selector: string) => Node \| null | (Optional) | +| Property | Modifiers | Type | Description | Default | +| ------------------------------------------------------- | --------- | ------------------------------------------------- | ----------------- | ------- | +| [queryAll?](./puppeteer.customqueryhandler.queryall.md) | | (node: Node, selector: string) => Node\[\] | (Optional) | | +| [queryOne?](./puppeteer.customqueryhandler.queryone.md) | | (node: Node, selector: string) => Node \| null | (Optional) | | diff --git a/docs/api/puppeteer.customqueryhandler.queryall.md b/docs/api/puppeteer.customqueryhandler.queryall.md index d366bb7f626..167a38606ad 100644 --- a/docs/api/puppeteer.customqueryhandler.queryall.md +++ b/docs/api/puppeteer.customqueryhandler.queryall.md @@ -4,7 +4,7 @@ sidebar_label: CustomQueryHandler.queryAll # CustomQueryHandler.queryAll property -**Signature:** +#### Signature: ```typescript interface CustomQueryHandler { diff --git a/docs/api/puppeteer.customqueryhandler.queryone.md b/docs/api/puppeteer.customqueryhandler.queryone.md index bccfb2f5b39..bbd241c85b9 100644 --- a/docs/api/puppeteer.customqueryhandler.queryone.md +++ b/docs/api/puppeteer.customqueryhandler.queryone.md @@ -4,7 +4,7 @@ sidebar_label: CustomQueryHandler.queryOne # CustomQueryHandler.queryOne property -**Signature:** +#### Signature: ```typescript interface CustomQueryHandler { diff --git a/docs/api/puppeteer.customqueryhandlernames.md b/docs/api/puppeteer.customqueryhandlernames.md index bdf4bf26eaa..c68f393920c 100644 --- a/docs/api/puppeteer.customqueryhandlernames.md +++ b/docs/api/puppeteer.customqueryhandlernames.md @@ -8,7 +8,7 @@ sidebar_label: customQueryHandlerNames > > Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.customQueryHandlerNames()](./puppeteer.puppeteer.customqueryhandlernames.md) -**Signature:** +#### Signature: ```typescript export declare function customQueryHandlerNames(): string[]; diff --git a/docs/api/puppeteer.default_intercept_resolution_priority.md b/docs/api/puppeteer.default_intercept_resolution_priority.md index e183caa36db..1302de1ee60 100644 --- a/docs/api/puppeteer.default_intercept_resolution_priority.md +++ b/docs/api/puppeteer.default_intercept_resolution_priority.md @@ -6,7 +6,7 @@ sidebar_label: DEFAULT_INTERCEPT_RESOLUTION_PRIORITY The default cooperative request interception resolution priority -**Signature:** +#### Signature: ```typescript DEFAULT_INTERCEPT_RESOLUTION_PRIORITY = 0; diff --git a/docs/api/puppeteer.defaultargs.md b/docs/api/puppeteer.defaultargs.md index b5ab12682d6..e8ede108c67 100644 --- a/docs/api/puppeteer.defaultargs.md +++ b/docs/api/puppeteer.defaultargs.md @@ -4,7 +4,7 @@ sidebar_label: defaultArgs # defaultArgs variable -**Signature:** +#### Signature: ```typescript defaultArgs: (options?: import("puppeteer-core/internal/node/LaunchOptions.js").BrowserLaunchArgumentOptions | undefined) => string[] diff --git a/docs/api/puppeteer.device.md b/docs/api/puppeteer.device.md index d2ccae149d2..b690704f545 100644 --- a/docs/api/puppeteer.device.md +++ b/docs/api/puppeteer.device.md @@ -4,7 +4,7 @@ sidebar_label: Device # Device interface -**Signature:** +#### Signature: ```typescript export interface Device @@ -12,7 +12,7 @@ export interface Device ## Properties -| Property | Modifiers | Type | Description | -| -------------------------------------------- | --------- | ----------------------------------- | ----------- | -| [userAgent](./puppeteer.device.useragent.md) | | string | | -| [viewport](./puppeteer.device.viewport.md) | | [Viewport](./puppeteer.viewport.md) | | +| Property | Modifiers | Type | Description | Default | +| -------------------------------------------- | --------- | ----------------------------------- | ----------- | ------- | +| [userAgent](./puppeteer.device.useragent.md) | | string | | | +| [viewport](./puppeteer.device.viewport.md) | | [Viewport](./puppeteer.viewport.md) | | | diff --git a/docs/api/puppeteer.device.useragent.md b/docs/api/puppeteer.device.useragent.md index b65382ca2ae..04c46d98847 100644 --- a/docs/api/puppeteer.device.useragent.md +++ b/docs/api/puppeteer.device.useragent.md @@ -4,7 +4,7 @@ sidebar_label: Device.userAgent # Device.userAgent property -**Signature:** +#### Signature: ```typescript interface Device { diff --git a/docs/api/puppeteer.device.viewport.md b/docs/api/puppeteer.device.viewport.md index ba1048132ca..f1f8c403b17 100644 --- a/docs/api/puppeteer.device.viewport.md +++ b/docs/api/puppeteer.device.viewport.md @@ -4,7 +4,7 @@ sidebar_label: Device.viewport # Device.viewport property -**Signature:** +#### Signature: ```typescript interface Device { diff --git a/docs/api/puppeteer.devices.md b/docs/api/puppeteer.devices.md index 72cc7667e1b..1a5deb82437 100644 --- a/docs/api/puppeteer.devices.md +++ b/docs/api/puppeteer.devices.md @@ -8,7 +8,7 @@ sidebar_label: devices > > Import [KnownDevices](./puppeteer.knowndevices.md) -**Signature:** +#### Signature: ```typescript devices: Readonly< diff --git a/docs/api/puppeteer.dialog.accept.md b/docs/api/puppeteer.dialog.accept.md index 39d84e504e4..06099eb4ede 100644 --- a/docs/api/puppeteer.dialog.accept.md +++ b/docs/api/puppeteer.dialog.accept.md @@ -4,7 +4,7 @@ sidebar_label: Dialog.accept # Dialog.accept() method -**Signature:** +#### Signature: ```typescript class Dialog { diff --git a/docs/api/puppeteer.dialog.defaultvalue.md b/docs/api/puppeteer.dialog.defaultvalue.md index 4880551dbc3..75c23618276 100644 --- a/docs/api/puppeteer.dialog.defaultvalue.md +++ b/docs/api/puppeteer.dialog.defaultvalue.md @@ -4,7 +4,7 @@ sidebar_label: Dialog.defaultValue # Dialog.defaultValue() method -**Signature:** +#### Signature: ```typescript class Dialog { diff --git a/docs/api/puppeteer.dialog.dismiss.md b/docs/api/puppeteer.dialog.dismiss.md index 097fda7ed2a..c76ff4e33b8 100644 --- a/docs/api/puppeteer.dialog.dismiss.md +++ b/docs/api/puppeteer.dialog.dismiss.md @@ -4,7 +4,7 @@ sidebar_label: Dialog.dismiss # Dialog.dismiss() method -**Signature:** +#### Signature: ```typescript class Dialog { diff --git a/docs/api/puppeteer.dialog.md b/docs/api/puppeteer.dialog.md index 14a34f57863..5e502b741c5 100644 --- a/docs/api/puppeteer.dialog.md +++ b/docs/api/puppeteer.dialog.md @@ -6,7 +6,7 @@ sidebar_label: Dialog Dialog instances are dispatched by the [Page](./puppeteer.page.md) via the `dialog` event. -**Signature:** +#### Signature: ```typescript export declare class Dialog diff --git a/docs/api/puppeteer.dialog.message.md b/docs/api/puppeteer.dialog.message.md index 5e3b60a617b..e837d1dec02 100644 --- a/docs/api/puppeteer.dialog.message.md +++ b/docs/api/puppeteer.dialog.message.md @@ -4,7 +4,7 @@ sidebar_label: Dialog.message # Dialog.message() method -**Signature:** +#### Signature: ```typescript class Dialog { diff --git a/docs/api/puppeteer.dialog.type.md b/docs/api/puppeteer.dialog.type.md index dabdb19a006..948b751523a 100644 --- a/docs/api/puppeteer.dialog.type.md +++ b/docs/api/puppeteer.dialog.type.md @@ -4,7 +4,7 @@ sidebar_label: Dialog.type # Dialog.type() method -**Signature:** +#### Signature: ```typescript class Dialog { diff --git a/docs/api/puppeteer.elementhandle._.md b/docs/api/puppeteer.elementhandle._.md index c3984a957ed..9d276752487 100644 --- a/docs/api/puppeteer.elementhandle._.md +++ b/docs/api/puppeteer.elementhandle._.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.$ Queries the current element for an element matching the given selector. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.__.md b/docs/api/puppeteer.elementhandle.__.md index 18ff9489245..8c10c19270c 100644 --- a/docs/api/puppeteer.elementhandle.__.md +++ b/docs/api/puppeteer.elementhandle.__.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.$$ Queries the current element for all elements matching the given selector. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.__eval.md b/docs/api/puppeteer.elementhandle.__eval.md index d34a4175996..6726c9d8c89 100644 --- a/docs/api/puppeteer.elementhandle.__eval.md +++ b/docs/api/puppeteer.elementhandle.__eval.md @@ -8,7 +8,7 @@ Runs the given function on an array of elements matching the given selector in t If the given function returns a promise, then this method will wait till the promise resolves. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle._eval.md b/docs/api/puppeteer.elementhandle._eval.md index 11cb427b77a..405dd7d1305 100644 --- a/docs/api/puppeteer.elementhandle._eval.md +++ b/docs/api/puppeteer.elementhandle._eval.md @@ -8,7 +8,7 @@ Runs the given function on the first element matching the given selector in the If the given function returns a promise, then this method will wait till the promise resolves. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle._x.md b/docs/api/puppeteer.elementhandle._x.md index 4b4e1e4a730..1aa5a7f01f1 100644 --- a/docs/api/puppeteer.elementhandle._x.md +++ b/docs/api/puppeteer.elementhandle._x.md @@ -14,7 +14,7 @@ sidebar_label: ElementHandle.$x > > If there are no such elements, the method will resolve to an empty array. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.aselement.md b/docs/api/puppeteer.elementhandle.aselement.md index 8c55d209c36..1d3845215c2 100644 --- a/docs/api/puppeteer.elementhandle.aselement.md +++ b/docs/api/puppeteer.elementhandle.aselement.md @@ -4,7 +4,7 @@ sidebar_label: ElementHandle.asElement # ElementHandle.asElement() method -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.boundingbox.md b/docs/api/puppeteer.elementhandle.boundingbox.md index 529d103f252..e47a0e1a250 100644 --- a/docs/api/puppeteer.elementhandle.boundingbox.md +++ b/docs/api/puppeteer.elementhandle.boundingbox.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.boundingBox This method returns the bounding box of the element (relative to the main frame), or `null` if the element is not visible. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.boxmodel.md b/docs/api/puppeteer.elementhandle.boxmodel.md index bcb74f711f0..9adf38d4b0b 100644 --- a/docs/api/puppeteer.elementhandle.boxmodel.md +++ b/docs/api/puppeteer.elementhandle.boxmodel.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.boxModel This method returns boxes of the element, or `null` if the element is not visible. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.click.md b/docs/api/puppeteer.elementhandle.click.md index 820e44285be..884ee038bec 100644 --- a/docs/api/puppeteer.elementhandle.click.md +++ b/docs/api/puppeteer.elementhandle.click.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.click This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.mouse.md) to click in the center of the element. If the element is detached from DOM, the method throws an error. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.clickablepoint.md b/docs/api/puppeteer.elementhandle.clickablepoint.md index a1371f0fc7c..664c15b6639 100644 --- a/docs/api/puppeteer.elementhandle.clickablepoint.md +++ b/docs/api/puppeteer.elementhandle.clickablepoint.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.clickablePoint Returns the middle point within an element unless a specific offset is provided. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.contentframe.md b/docs/api/puppeteer.elementhandle.contentframe.md index 6ce9e88a20b..928b29c8e9b 100644 --- a/docs/api/puppeteer.elementhandle.contentframe.md +++ b/docs/api/puppeteer.elementhandle.contentframe.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.contentFrame Resolves to the content frame for element handles referencing iframe nodes, or null otherwise -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.drag.md b/docs/api/puppeteer.elementhandle.drag.md index b0ddb62cd41..8ae241c97b1 100644 --- a/docs/api/puppeteer.elementhandle.drag.md +++ b/docs/api/puppeteer.elementhandle.drag.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.drag This method creates and captures a dragevent from the element. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.draganddrop.md b/docs/api/puppeteer.elementhandle.draganddrop.md index efec7602aed..fdfb82d76e8 100644 --- a/docs/api/puppeteer.elementhandle.draganddrop.md +++ b/docs/api/puppeteer.elementhandle.draganddrop.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.dragAndDrop This method triggers a dragenter, dragover, and drop on the element. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.dragenter.md b/docs/api/puppeteer.elementhandle.dragenter.md index 2f8f3b82f7e..b9cb2c386f6 100644 --- a/docs/api/puppeteer.elementhandle.dragenter.md +++ b/docs/api/puppeteer.elementhandle.dragenter.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.dragEnter This method creates a `dragenter` event on the element. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.dragover.md b/docs/api/puppeteer.elementhandle.dragover.md index 90db5c5cd50..430a46ec9b4 100644 --- a/docs/api/puppeteer.elementhandle.dragover.md +++ b/docs/api/puppeteer.elementhandle.dragover.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.dragOver This method creates a `dragover` event on the element. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.drop.md b/docs/api/puppeteer.elementhandle.drop.md index 47d3af82cb1..2d9d0cdf212 100644 --- a/docs/api/puppeteer.elementhandle.drop.md +++ b/docs/api/puppeteer.elementhandle.drop.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.drop This method triggers a drop on the element. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.focus.md b/docs/api/puppeteer.elementhandle.focus.md index 6681a295c5b..9efc51d662b 100644 --- a/docs/api/puppeteer.elementhandle.focus.md +++ b/docs/api/puppeteer.elementhandle.focus.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.focus Calls [focus](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus) on the element. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.frame.md b/docs/api/puppeteer.elementhandle.frame.md index 7ed68d2ba28..fd6d2529d82 100644 --- a/docs/api/puppeteer.elementhandle.frame.md +++ b/docs/api/puppeteer.elementhandle.frame.md @@ -4,7 +4,7 @@ sidebar_label: ElementHandle.frame # ElementHandle.frame property -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.hover.md b/docs/api/puppeteer.elementhandle.hover.md index 874ed7a7c49..e6f9c55c3ff 100644 --- a/docs/api/puppeteer.elementhandle.hover.md +++ b/docs/api/puppeteer.elementhandle.hover.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.hover This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.mouse.md) to hover over the center of the element. If the element is detached from DOM, the method throws an error. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.isintersectingviewport.md b/docs/api/puppeteer.elementhandle.isintersectingviewport.md index 4eaafc38fc0..26ef4722c48 100644 --- a/docs/api/puppeteer.elementhandle.isintersectingviewport.md +++ b/docs/api/puppeteer.elementhandle.isintersectingviewport.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.isIntersectingViewport Resolves to true if the element is visible in the current viewport. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.md b/docs/api/puppeteer.elementhandle.md index 5df3ec39491..da21732546a 100644 --- a/docs/api/puppeteer.elementhandle.md +++ b/docs/api/puppeteer.elementhandle.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle ElementHandle represents an in-page DOM element. -**Signature:** +#### Signature: ```typescript export declare class ElementHandle extends JSHandle diff --git a/docs/api/puppeteer.elementhandle.press.md b/docs/api/puppeteer.elementhandle.press.md index 5b2b1e6321e..0a008151266 100644 --- a/docs/api/puppeteer.elementhandle.press.md +++ b/docs/api/puppeteer.elementhandle.press.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.press Focuses the element, and then uses [Keyboard.down()](./puppeteer.keyboard.down.md) and [Keyboard.up()](./puppeteer.keyboard.up.md). -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.screenshot.md b/docs/api/puppeteer.elementhandle.screenshot.md index 02559169edd..b0be948f5cc 100644 --- a/docs/api/puppeteer.elementhandle.screenshot.md +++ b/docs/api/puppeteer.elementhandle.screenshot.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.screenshot This method scrolls element into view if needed, and then uses [Page.screenshot()](./puppeteer.page.screenshot.md) to take a screenshot of the element. If the element is detached from DOM, the method throws an error. -**Signature:** +#### Signature: ```typescript class ElementHandle { diff --git a/docs/api/puppeteer.elementhandle.select.md b/docs/api/puppeteer.elementhandle.select.md index 10d3abc6585..c6c11337906 100644 --- a/docs/api/puppeteer.elementhandle.select.md +++ b/docs/api/puppeteer.elementhandle.select.md @@ -6,7 +6,7 @@ sidebar_label: ElementHandle.select Triggers a `change` and `input` event once all the provided options have been selected. If there's no `