Skip to main content
Version: 21.6.1

Page.createCDPSession() method

Creates a Chrome Devtools Protocol session attached to the page.

Signature:

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

Returns:

Promise<CDPSession>