Skip to main content
Version: Next

Page.createCDPSession() method

Creates a Chrome Devtools Protocol session attached to the page.

Signature:

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

Returns:

Promise<CDPSession>