puppeteer/docs/api/puppeteer.browsercontext.targets.md
2023-11-09 13:57:33 +01:00

337 B

sidebar_label
BrowserContext.targets

BrowserContext.targets() method

Gets all active targets inside this browser context.

Signature:

class BrowserContext {
  abstract targets(): Target[];
}

Returns:

Target[]