puppeteer/website/versioned_docs/version-10.1.0/puppeteer.connect.md
2021-08-10 11:09:48 +01:00

690 B

Home > puppeteer > connect

connect() function

This method attaches Puppeteer to an existing browser instance.

Signature:

export declare function connect(options: ConnectOptions): Promise<Browser>;

Parameters

Parameter Type Description
options ConnectOptions Set of configurable options to set on the browser.

Returns:

Promise<Browser>

Promise which resolves to browser instance.

Remarks