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

20 lines
275 B
Markdown
Raw Normal View History

---
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)