Skip to main content
Version: 23.5.0

Page.browserContext() 方法

¥Page.browserContext() method

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

¥Get the browser context that the page belongs to.

签名

¥Signature

class Page {
abstract browserContext(): BrowserContext;
}

Returns:

BrowserContext