appium-espresso-driver
Version:
Espresso integration for Appium
16 lines • 817 B
TypeScript
import type { EspressoDriver } from '../driver.js';
/**
* Gets the clipboard content from the device.
* @returns Promise that resolves to base64-encoded content of the clipboard
* or an empty string if the clipboard is empty.
*/
export declare function getClipboard(this: EspressoDriver): Promise<string>;
/**
* Sets the clipboard content on the device.
* @param content - Base64-encoded clipboard payload
* @param contentType - Only a single content type is supported, which is 'plaintext'
* @param label - Optional label to identify the current clipboard payload
* @returns Promise that resolves when the clipboard is set
*/
export declare function mobileSetClipboard(this: EspressoDriver, content: string, contentType?: 'plaintext', label?: string): Promise<void>;
//# sourceMappingURL=clipboard.d.ts.map