puppeteer/website/versioned_docs/version-21.3.0/api/puppeteer.browsercontext.newpage.md

20 lines
338 B
Markdown
Raw Normal View History

---
sidebar_label: BrowserContext.newPage
---
# BrowserContext.newPage() method
Creates a new [page](./puppeteer.page.md) in this [browser context](./puppeteer.browsercontext.md).
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class BrowserContext {
abstract newPage(): Promise<Page>;
}
```
**Returns:**
Promise&lt;[Page](./puppeteer.page.md)&gt;