BrowserContext.newPage() 方法
签名
class BrowserContext {
abstract newPage(options?: CreatePageOptions): Promise<Page>;
}
参数
|
参数 |
类型 |
说明 |
|---|---|---|
|
options |
(可选) |
返回值:
Promise<Page>
class BrowserContext {
abstract newPage(options?: CreatePageOptions): Promise<Page>;
}
|
参数 |
类型 |
说明 |
|---|---|---|
|
options |
(可选) |
返回值:
Promise<Page>