Browser.defaultBrowserContext() 方法
🌐 Browser.defaultBrowserContext() method
获取默认的 浏览器上下文 。
🌐 Gets the default browser context.
语法
🌐 Signature
class Browser {
abstract defaultBrowserContext(): BrowserContext;
}
返回:
附注
🌐 Remarks
默认的浏览器上下文无法关闭。
🌐 The default browser context cannot be closed.