puppeteer/website/versioned_docs/version-19.1.2/api/puppeteer.target.browsercontext.md
2022-10-25 11:12:17 +02:00

20 lines
279 B
Markdown

---
sidebar_label: Target.browserContext
---
# Target.browserContext() method
Get the browser context the target belongs to.
#### Signature:
```typescript
class Target {
browserContext(): BrowserContext;
}
```
**Returns:**
[BrowserContext](./puppeteer.browsercontext.md)