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