puppeteer/new-docs/puppeteer.connection.createsession.md
Jack Franklin 8a099a0c2c
docs: replace @return with @returns (#6006)
The former is not understood by TSDoc.
2020-06-12 12:38:24 +02:00

691 B

Home > puppeteer > Connection > createSession

Connection.createSession() method

Signature:

createSession(targetInfo: Protocol.Target.TargetInfo): Promise<CDPSession>;

Parameters

Parameter Type Description
targetInfo Protocol.Target.TargetInfo

Returns:

Promise<CDPSession>

{!Promise<!CDPSession>}