Skip to main content
Version: 16.2.0

Target.browserContext() method

Get the browser context the target belongs to.

Signature:

class Target {
browserContext(): BrowserContext;
}

Returns:

BrowserContext