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

743 B

Home > puppeteer > PuppeteerNode > connect

PuppeteerNode.connect() method

This method attaches Puppeteer to an existing browser instance.

Signature:

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