18 lines
492 B
Markdown
18 lines
492 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Target](./puppeteer.target.md) > [createCDPSession](./puppeteer.target.createcdpsession.md)
|
||
|
|
||
|
## Target.createCDPSession() method
|
||
|
|
||
|
Creates a Chrome Devtools Protocol session attached to the target.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
createCDPSession(): Promise<CDPSession>;
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<[CDPSession](./puppeteer.cdpsession.md)>
|
||
|
|