mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
This PR updates the docs regarding configuring puppeteer. In addition, some changes have been made to the documentation generator to show default values on the documentation site. Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
1.9 KiB
1.9 KiB
sidebar_label
| sidebar_label |
|---|
| BrowserConnectOptions |
BrowserConnectOptions interface
Generic browser options that can be passed when launching any browser or when connecting to an existing browser instance.
Signature:
export interface BrowserConnectOptions
Properties
| Property | Modifiers | Type | Description | Default |
|---|---|---|---|---|
| defaultViewport? | Viewport | null | (Optional) Sets the viewport for each page. | ||
| ignoreHTTPSErrors? | boolean | (Optional) Whether to ignore HTTPS errors during navigation. | false | |
| slowMo? | number | (Optional) Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. | ||
| targetFilter? | TargetFilterCallback | (Optional) Callback to decide if Puppeteer should connect to a given target or not. |