Skip to main content
Version: 17.1.0

Target.browserContext() method

Get the browser context the target belongs to.

Signature:

class Target {
browserContext(): BrowserContext;
}

Returns:

BrowserContext