086c08998b
This adds the new docs that are generated by API Extractor via TSDoc. They are sparse because we do not yet use TSDoc in the codebase. This is the starting point and from here we can work through all the different classes and improve the documentation.
1.3 KiB
1.3 KiB
Home > puppeteer > CDPSession
CDPSession class
Signature:
export declare class CDPSession 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) |