mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
93e9acc410
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
1.5 KiB
1.5 KiB
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 |
Sets the viewport for each page. |
'{width: 800, height: 600}' |
ignoreHTTPSErrors |
|
boolean |
Whether to ignore HTTPS errors during navigation. |
|
protocol |
|
'cdp' | ||
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. |