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

20 lines
278 B
Markdown
Raw Normal View History

---
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)