puppeteer/new-docs/puppeteer.cdpsession.md
Jack Franklin ace31d6f58
chore: pin TSDoc related dependencies (#6063)
Without the API-* dependencies pinned different versions may be
installed on local machines vs CI. One of the checks we do is to check
that the checked in docs matches what is generated on CI. Therefore we
need to ensure devs locally run the exact version that CI runs such that
they generate the same output. So in this case we pin to a particular
version of the dependencies.
2020-06-22 09:16:51 +01:00

1.4 KiB

Home > puppeteer > CDPSession

CDPSession class

Signature:

export declare class CDPSession extends EventEmitter 

Extends: EventEmitter

Constructors

Constructor Modifiers Description
(constructor)(connection, targetType, sessionId) Constructs a new instance of the CDPSession class

Properties

Property Modifiers Type Description
_callbacks Map<number, ConnectionCallback>
_connection Connection
_sessionId string
_targetType string

Methods

Method Modifiers Description
_onClosed()
_onMessage(object)
detach()
send(method, params)