UNPKG

appium-mac2-driver

Version:

XCTest-based Appium driver for macOS apps automation

12 lines 613 B
import type { Mac2Driver } from '../driver'; import type { ScreenshotsInfo } from '../types'; /** * Retrieves screenshots of each display available to macOS * * @param displayId - macOS display identifier to take a screenshot for. * If not provided then screenshots of all displays are going to be returned. * If no matches were found then an error is thrown. * @returns Screenshots information for the requested display(s) */ export declare function macosScreenshots(this: Mac2Driver, displayId?: number): Promise<ScreenshotsInfo>; //# sourceMappingURL=screenshots.d.ts.map