puppeteer/docs/api/puppeteer.connection.fromsession.md

420 B

sidebar_label
Connection.fromSession

Connection.fromSession() method

Signature:

class Connection {static fromSession(session: CDPSession): Connection | undefined;}

Parameters

Parameter Type Description
session CDPSession

Returns:

Connection | undefined