puppeteer/docs/api/puppeteer.browser.newpage.md
2023-09-18 11:05:23 +02:00

339 B

sidebar_label
Browser.newPage

Browser.newPage() method

Creates a new page in the default browser context.

Signature:

class Browser {
  abstract newPage(): Promise<Page>;
}

Returns:

Promise<Page>