ace31d6f58
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.
38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [CDPSession](./puppeteer.cdpsession.md)
|
|
|
|
## CDPSession class
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare class CDPSession extends EventEmitter
|
|
```
|
|
<b>Extends:</b> [EventEmitter](./puppeteer.eventemitter.md)
|
|
|
|
## Constructors
|
|
|
|
| Constructor | Modifiers | Description |
|
|
| --- | --- | --- |
|
|
| [(constructor)(connection, targetType, sessionId)](./puppeteer.cdpsession._constructor_.md) | | Constructs a new instance of the <code>CDPSession</code> class |
|
|
|
|
## Properties
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
| --- | --- | --- | --- |
|
|
| [\_callbacks](./puppeteer.cdpsession._callbacks.md) | | Map<number, ConnectionCallback> | |
|
|
| [\_connection](./puppeteer.cdpsession._connection.md) | | [Connection](./puppeteer.connection.md) | |
|
|
| [\_sessionId](./puppeteer.cdpsession._sessionid.md) | | string | |
|
|
| [\_targetType](./puppeteer.cdpsession._targettype.md) | | string | |
|
|
|
|
## Methods
|
|
|
|
| Method | Modifiers | Description |
|
|
| --- | --- | --- |
|
|
| [\_onClosed()](./puppeteer.cdpsession._onclosed.md) | | |
|
|
| [\_onMessage(object)](./puppeteer.cdpsession._onmessage.md) | | |
|
|
| [detach()](./puppeteer.cdpsession.detach.md) | | |
|
|
| [send(method, params)](./puppeteer.cdpsession.send.md) | | |
|
|
|