Skip to main content
Version: 22.9.0

Page.createCDPSession() method

Creates a Chrome Devtools Protocol session attached to the page.

Signature:

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

Returns:

Promise<CDPSession>