puppeteer/website/versioned_docs/version-10.1.0/puppeteer.browser.newpage.md
2021-08-10 11:09:48 +01:00

493 B

Home > puppeteer > Browser > newPage

Browser.newPage() method

Promise which resolves to a new Page object. The Page is created in a default browser context.

Signature:

newPage(): Promise<Page>;

Returns:

Promise<Page>