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>
Returns true if DevTools is attached to the current page. Use Page.openDevTools() to get the DevTools page.
class Page {
abstract hasDevTools(): Promise<boolean>;
}
Returns:
Promise<boolean>