puppeteer/docs/api/puppeteer.target.browsercontext.md
2023-11-09 13:57:33 +01:00

20 lines
288 B
Markdown

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