puppeteer/website/versioned_docs/version-19.7.3/api/puppeteer.target.browsercontext.md

20 lines
279 B
Markdown
Raw Normal View History

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