<!-- 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; [connection](./puppeteer.cdpsession.connection.md)

## CDPSession.connection() method

<b>Signature:</b>

```typescript
connection(): Connection;
```
<b>Returns:</b>

[Connection](./puppeteer.connection.md)

