Skip to main content
Version: 24.38.0

Page.browserContext() 方法

🌐 Page.browserContext() method

获取页面所属的浏览器上下文。

🌐 Get the browser context that the page belongs to.

语法

🌐 Signature

class Page {
abstract browserContext(): BrowserContext;
}

返回:

浏览器上下文