puppeteer/new-docs/puppeteer.cdpsession._constructor_.md

23 lines
649 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [CDPSession](./puppeteer.cdpsession.md) &gt; [(constructor)](./puppeteer.cdpsession._constructor_.md)
## CDPSession.(constructor)
Constructs a new instance of the `CDPSession` class
<b>Signature:</b>
```typescript
constructor(connection: Connection, targetType: string, sessionId: string);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| connection | [Connection](./puppeteer.connection.md) | |
| targetType | string | |
| sessionId | string | |