2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Page.browserContext
|
|
|
|
---
|
|
|
|
|
|
|
|
# Page.browserContext() method
|
|
|
|
|
|
|
|
Get the browser context that the page belongs to.
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
#### Signature:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class Page {
|
2023-09-22 12:08:46 +00:00
|
|
|
abstract browserContext(): BrowserContext;
|
2022-08-06 14:49:20 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
[BrowserContext](./puppeteer.browsercontext.md)
|