mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
278 B
Markdown
20 lines
278 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)
|