mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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)>
|
||
|
|