Skip to main content
Version: 15.3.0

Browser.defaultBrowserContext() method

Returns the default browser context. The default browser context cannot be closed.

Signature:

class Browser {
defaultBrowserContext(): BrowserContext;
}

Returns:

BrowserContext