Page.createCDPSession() method

Creates a Chrome Devtools Protocol session attached to the page.

Signature

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

Returns:

Promise<CDPSession>