Home > puppeteer > CDPSession
Signature:
export declare class CDPSession extends EventEmitter
Extends: EventEmitter
Constructor | Modifiers | Description |
---|---|---|
(constructor)(connection, targetType, sessionId) | Constructs a new instance of the CDPSession class |
Property | Modifiers | Type | Description |
---|---|---|---|
_callbacks | Map<number, ConnectionCallback> | ||
_connection | Connection | ||
_sessionId | string | ||
_targetType | string |
Method | Modifiers | Description |
---|---|---|
_onClosed() | ||
_onMessage(object) | ||
detach() | ||
send(method, params) |