Skip to main content

Target.browserContext() method

Get the browser context the target belongs to.

Signature:

browserContext(): BrowserContext;

Returns:

BrowserContext