Browser.getWindowBounds() 方法
🌐 Browser.getWindowBounds() method
获取指定窗口的边界 bounds 。
🌐 Gets the specified window bounds.
语法
🌐 Signature
class Browser {
abstract getWindowBounds(windowId: WindowId): Promise<WindowBounds>;
}
参数
🌐 Parameters
范围 🌐 Parameter | 类型 🌐 Type | 描述 🌐 Description |
|---|---|---|
windowId |
返回:
Promise<WindowBounds>