puppeteer/website/versioned_docs/version-19.7.0/api/puppeteer.page.browsercontext.md

20 lines
276 B
Markdown
Raw Normal View History

---
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:
```typescript
class Page {
browserContext(): BrowserContext;
}
```
**Returns:**
[BrowserContext](./puppeteer.browsercontext.md)