puppeteer/docs/api/puppeteer.connectoptions.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: ConnectOptions
---
# ConnectOptions interface
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export interface ConnectOptions extends BrowserConnectOptions
```
**Extends:** [BrowserConnectOptions](./puppeteer.browserconnectoptions.md)
## Properties
| Property | Modifiers | Type | Description | Default |
| ----------------- | --------------------- | --------------------------------------------------------- | --------------------------------------------- | ------- |
| browserURL | <code>optional</code> | string | | |
| browserWSEndpoint | <code>optional</code> | string | | |
| headers | <code>optional</code> | Record&lt;string, string&gt; | Headers to use for the web socket connection. | |
| transport | <code>optional</code> | [ConnectionTransport](./puppeteer.connectiontransport.md) | | |