puppeteer/new-docs/puppeteer.browsercontext.targets.md

18 lines
475 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [BrowserContext](./puppeteer.browsercontext.md) &gt; [targets](./puppeteer.browsercontext.targets.md)
## BrowserContext.targets() method
An array of all active targets inside the browser context.
<b>Signature:</b>
```typescript
targets(): Target[];
```
<b>Returns:</b>
[Target](./puppeteer.target.md)<!-- -->\[\]