puppeteer/website/versioned_docs/version-21.3.4/api/puppeteer.browser.newpage.md

20 lines
339 B
Markdown
Raw Normal View History

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