Skip to main content
Version: 21.3.4

Page.browserContext() method

Get the browser context that the page belongs to.

Signature:

class Page {
abstract browserContext(): BrowserContext;
}

Returns:

BrowserContext