17 lines
289 B
Markdown
17 lines
289 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)
|
|
|