puppeteer/docs/api/puppeteer.browser.defaultbrowsercontext.md
2023-09-18 11:05:23 +02:00

424 B

sidebar_label
Browser.defaultBrowserContext

Browser.defaultBrowserContext() method

Gets the default browser context.

Signature:

class Browser {
  abstract defaultBrowserContext(): BrowserContext;
}

Returns:

BrowserContext

Remarks

The default browser context cannot be closed.