puppeteer/website/versioned_docs/version-9.1.1/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