puppeteer/website/versioned_docs/version-9.1.1/puppeteer.browsercontext.newpage.md

18 lines
446 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [BrowserContext](./puppeteer.browsercontext.md) &gt; [newPage](./puppeteer.browsercontext.newpage.md)
## BrowserContext.newPage() method
Creates a new page in the browser context.
<b>Signature:</b>
```typescript
newPage(): Promise<Page>;
```
<b>Returns:</b>
Promise&lt;[Page](./puppeteer.page.md)&gt;