Browser.screens() 方法
🌐 Browser.screens() method
获取 屏幕信息对象 的列表。
🌐 Gets a list of screen information objects.
语法
🌐 Signature
class Browser {
abstract screens(): Promise<ScreenInfo[]>;
}
返回:
Promise<ScreenInfo[]>
🌐 Browser.screens() method
获取 屏幕信息对象 的列表。
🌐 Gets a list of screen information objects.
🌐 Signature
class Browser {
abstract screens(): Promise<ScreenInfo[]>;
}
返回:
Promise<ScreenInfo[]>