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

631 B

Home > puppeteer > Connection > (constructor)

Connection.(constructor)

Constructs a new instance of the Connection class

Signature:

constructor(url: string, transport: ConnectionTransport, delay?: number);

Parameters

Parameter Type Description
url string
transport ConnectionTransport
delay number