Skip to main content
Version: 22.2.0

Page.createCDPSession() method

Creates a Chrome Devtools Protocol session attached to the page.

Signature:

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

Returns:

Promise<CDPSession>