puppeteer/docs/api/puppeteer.browser.targets.md
2023-09-18 11:05:23 +02:00

435 B

sidebar_label
Browser.targets

Browser.targets() method

Gets all active targets.

In case of multiple browser contexts, this returns all targets in all browser contexts.

Signature:

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

Returns:

Target[]