UNPKG

appium-mac2-driver

Version:

XCTest-based Appium driver for macOS apps automation

19 lines 863 B
import type { Mac2Driver } from '../driver'; /** * Sets the content of the clipboard. * * @param content - The content to be set as base64 encoded string. * @param contentType - The type of the content to set. * Only `plaintext`, 'image and 'url' are supported. */ export declare function macosSetClipboard(this: Mac2Driver, content: string, contentType?: string): Promise<void>; /** * Gets the content of the clipboard. * * @param contentType - The type of the content to get. * Only `plaintext`, 'image and 'url' are supported. * @returns {Promise<string>} The actual clipboard content encoded into base64 string. * An empty string is returned if the clipboard contains no data for the given content type. */ export declare function macosGetClipboard(this: Mac2Driver, contentType?: string): Promise<string>; //# sourceMappingURL=clipboard.d.ts.map