appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
22 lines • 764 B
TypeScript
import type { XCUITestDriver } from '../driver';
/**
* Sets the Simulator's pasteboard content to the given value.
*
* Does not work for real devices.
*
* @param content - The content to set
* @param encoding - The content's encoding
* @group Simulator Only
*/
export declare function mobileSetPasteboard(this: XCUITestDriver, content: string, encoding?: BufferEncoding): Promise<void>;
/**
* Gets the Simulator's pasteboard content.
*
* Does not work for real devices.
*
* @param encoding - Expected encoding of returned string
* @group Simulator Only
* @returns The pasteboard content string
*/
export declare function mobileGetPasteboard(this: XCUITestDriver, encoding?: BufferEncoding): Promise<string>;
//# sourceMappingURL=pasteboard.d.ts.map