puppeteer/website/versioned_docs/version-9.1.1/puppeteer.browser.targets.md
2021-08-10 11:09:48 +01:00

503 B

Home > puppeteer > Browser > targets

Browser.targets() method

All active targets inside the Browser. In case of multiple browser contexts, returns an array with all the targets in all browser contexts.

Signature:

targets(): Target[];

Returns:

Target[]