mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e1a9b85bbe
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
20 lines
339 B
Markdown
20 lines
339 B
Markdown
---
|
|
sidebar_label: Browser.newPage
|
|
---
|
|
|
|
# Browser.newPage() method
|
|
|
|
Creates a new [page](./puppeteer.page.md) in the [default browser context](./puppeteer.browser.defaultbrowsercontext.md).
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class Browser {
|
|
abstract newPage(): Promise<Page>;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
Promise<[Page](./puppeteer.page.md)>
|