Skip to main content
Version: 21.1.1

Page.browserContext() method

Get the browser context that the page belongs to.

Signature:

class Page {
browserContext(): BrowserContext;
}

Returns:

BrowserContext