Back to Puppeteer

Target.createCDPSession() method

docs/api/puppeteer.target.createcdpsession.md

19.2.2275 B
Original Source

Target.createCDPSession() method

Creates a Chrome Devtools Protocol session attached to the target.

Signature

typescript
class Target {
  abstract createCDPSession(): Promise<CDPSession>;
}

Returns:

Promise<CDPSession>