puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.target.browsercontext.md
2022-10-06 12:22:55 +02:00

278 B

sidebar_label
Target.browserContext

Target.browserContext() method

Get the browser context the target belongs to.

Signature:

class Target {
  browserContext(): BrowserContext;
}

Returns:

BrowserContext