mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
275 B
Markdown
20 lines
275 B
Markdown
|
---
|
||
|
sidebar_label: Page.browserContext
|
||
|
---
|
||
|
|
||
|
# Page.browserContext() method
|
||
|
|
||
|
Get the browser context that the page belongs to.
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
class Page {
|
||
|
browserContext(): BrowserContext;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
**Returns:**
|
||
|
|
||
|
[BrowserContext](./puppeteer.browsercontext.md)
|