appium-mac2-driver
Version:
XCTest-based Appium driver for macOS apps automation
12 lines • 631 B
TypeScript
/**
* Retrieves screenshots of each display available to macOS
*
* @this {Mac2Driver}
* @param {number} [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 {Promise<import('../types').ScreenshotsInfo>}
*/
export function macosScreenshots(this: import("../driver").Mac2Driver, displayId?: number): Promise<import("../types").ScreenshotsInfo>;
export type Mac2Driver = import("../driver").Mac2Driver;
//# sourceMappingURL=screenshots.d.ts.map