[Home](./index.md) > [puppeteer](./puppeteer.md) > [BrowserContext](./puppeteer.browsercontext.md) > [targets](./puppeteer.browsercontext.targets.md) ## BrowserContext.targets() method An array of all active targets inside the browser context. Signature: ```typescript targets(): Target[]; ``` Returns: [Target](./puppeteer.target.md)\[\]