BrowserContext.newPage() method
Creates a new page in this browser context.
Signature
class BrowserContext {
abstract newPage(options?: CreatePageOptions): Promise<Page>;
}
Parameters
Parameter | Type | Description |
|---|---|---|
options | (Optional) |
Returns:
Promise<Page>