UNPKG

appium-uiautomator2-driver

Version:
18 lines 593 B
/** * Gets a list of windows on all displays. * For Android API 30+ (R), uses getWindowsOnAllDisplays(). * For older APIs, uses getWindows(). */ export 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. */ export async function mobileListDisplays() { return (await this.uiautomator2.jwproxy.command('/appium/list_displays', 'POST', {})); } //# sourceMappingURL=windows.js.map