Skip to main content
Version: 24.39.0

Page.hasDevTools() method

Returns true if DevTools is attached to the current page. Use Page.openDevTools() to get the DevTools page.

Signature

class Page {
abstract hasDevTools(): Promise<boolean>;
}

Returns:

Promise<boolean>