Skip to main content

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>