937fffaedc
**What kind of change does this PR introduce?** I have browsers pool in some cloud. I want that only users with access will be able to connect to them. So they must provide token through headers. But puppeteer does not allow to send headers when connected to browser by ws connection. So I added this feature. Closes #7218
1.6 KiB
1.6 KiB
sidebar_label |
---|
ConnectOptions |
ConnectOptions interface
Signature:
export interface ConnectOptions extends BrowserConnectOptions
Extends: BrowserConnectOptions
Properties
Property | Modifiers | Type | Description | Default |
---|---|---|---|---|
browserURL? | string | (Optional) | ||
browserWSEndpoint? | string | (Optional) | ||
headers? | Record<string, string> | (Optional) Headers to use for the web socket connection. | ||
transport? | ConnectionTransport | (Optional) |