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

20 lines
272 B
Markdown
Raw Normal View History

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