2020-06-04 14:56:45 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [puppeteer ](./puppeteer.md ) > [Puppeteer ](./puppeteer.puppeteer.md ) > [connect ](./puppeteer.puppeteer.connect.md )
## Puppeteer.connect() method
2020-06-24 14:21:46 +00:00
This method attaches Puppeteer to an existing browser instance.
2020-06-04 14:56:45 +00:00
< b > Signature:< / b >
```typescript
connect(options: BrowserOptions & {
browserWSEndpoint?: string;
browserURL?: string;
transport?: ConnectionTransport;
product?: string;
}): Promise< Browser > ;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2020-07-02 11:15:39 +00:00
| options | [BrowserOptions ](./puppeteer.browseroptions.md ) & { browserWSEndpoint?: string; browserURL?: string; transport?: ConnectionTransport; product?: string; } | Set of configurable options to set on the browser. |
2020-06-04 14:56:45 +00:00
< b > Returns:< / b >
Promise< [Browser](./puppeteer.browser.md)<!-- --> >
2020-06-24 14:21:46 +00:00
Promise which resolves to browser instance.
## Remarks