puppeteer/website/versioned_docs/version-21.5.1/api/puppeteer.page.createcdpsession.md
release-please[bot] 245f38234d
chore: release main (#11331)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-11-09 13:03:21 +01:00

20 lines
309 B
Markdown

---
sidebar_label: Page.createCDPSession
---
# Page.createCDPSession() method
Creates a Chrome Devtools Protocol session attached to the page.
#### Signature:
```typescript
class Page {
createCDPSession(): Promise<CDPSession>;
}
```
**Returns:**
Promise&lt;[CDPSession](./puppeteer.cdpsession.md)&gt;