UNPKG

appium-uiautomator2-driver

Version:
22 lines 752 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mobileListWindows = mobileListWindows; exports.mobileListDisplays = mobileListDisplays; /** * Gets a list of windows on all displays. * For Android API 30+ (R), uses getWindowsOnAllDisplays(). * For older APIs, uses getWindows(). */ async function mobileListWindows(filters, skipScreenshots) { return (await this.uiautomator2.jwproxy.command('/appium/list_windows', 'POST', { filters, skipScreenshots, })); } /** * Gets a list of all displays available on the device. */ async function mobileListDisplays() { return (await this.uiautomator2.jwproxy.command('/appium/list_displays', 'POST', {})); } //# sourceMappingURL=windows.js.map