Browser.newPage() method
Creates a new page in the default browser context.
Signature
class Browser {
abstract newPage(): Promise<Page>;
}
Returns:
Promise<Page>
Creates a new page in the default browser context.
class Browser {
abstract newPage(): Promise<Page>;
}
Returns:
Promise<Page>