puppeteer/website/versioned_docs/version-19.7.5/api/puppeteer.connectoptions.md

23 lines
1.5 KiB
Markdown
Raw Normal View History

---
sidebar_label: ConnectOptions
---
# ConnectOptions interface
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
export interface ConnectOptions extends BrowserConnectOptions
```
**Extends:** [BrowserConnectOptions](./puppeteer.browserconnectoptions.md)
## Properties
| Property | Modifiers | Type | Description | Default |
| --------------------------------------------------------------------- | --------- | --------------------------------------------------------- | ---------------------------------------------------------- | ------- |
| [browserURL?](./puppeteer.connectoptions.browserurl.md) | | string | _(Optional)_ | |
| [browserWSEndpoint?](./puppeteer.connectoptions.browserwsendpoint.md) | | string | _(Optional)_ | |
| [headers?](./puppeteer.connectoptions.headers.md) | | Record<string, string> | _(Optional)_ Headers to use for the web socket connection. | |
| [transport?](./puppeteer.connectoptions.transport.md) | | [ConnectionTransport](./puppeteer.connectiontransport.md) | _(Optional)_ | |