2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Connection](./puppeteer.connection.md) > [session](./puppeteer.connection.session.md)
|
|
|
|
|
|
|
|
## Connection.session() method
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
session(sessionId: string): CDPSession | null;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-06-12 10:38:24 +00:00
|
|
|
| sessionId | string | |
|
2020-06-04 14:56:45 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
[CDPSession](./puppeteer.cdpsession.md) \| null
|
|
|
|
|
2020-06-12 10:38:24 +00:00
|
|
|
{<!-- -->?CDPSession<!-- -->}
|
|
|
|
|