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 |
---|---|---|---|---|
acceptInsecureCerts |
| boolean | Whether to ignore HTTPS errors during navigation. |
|
defaultViewport |
| Viewport | null | Sets the viewport for each page. | '{width: 800, height: 600}' |
protocol |
| Determined at run time:
| ||
protocolTimeout |
| number | Timeout setting for individual protocol (CDP) calls. |
|
slowMo |
| number | Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. | |
targetFilter |
| Callback to decide if Puppeteer should connect to a given target or not. |