Skip to main content
Version: 23.10.1

Page.browserContext() 方法

¥Page.browserContext() method

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

¥Get the browser context that the page belongs to.

签名

¥Signature

class Page {
abstract browserContext(): BrowserContext;
}

Returns:

BrowserContext