Skip to main content

Browser.defaultBrowserContext() method

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

Signature:

defaultBrowserContext(): BrowserContext;

Returns:

BrowserContext