puppeteer/docs/api/puppeteer.target.browsercontext.md

289 B

sidebar_label
Target.browserContext

Target.browserContext() method

Get the browser context the target belongs to.

Signature:

class Target {browserContext(): BrowserContext;}

Returns:

BrowserContext