跳到主要內容
版本:23.11.1

Page.browserContext() 方法

取得頁面所屬的瀏覽器上下文。

簽名

class Page {
abstract browserContext(): BrowserContext;
}

回傳

BrowserContext