UNPKG

io.appium.settings

Version:
14 lines 676 B
import type { SettingsApp } from '../client'; /** * Retrieves the text content of the device's clipboard. * The method works for Android below and above 29. * It temporarily enforces the IME setting in order to workaround * security limitations if needed. * This method only works if Appium Settings v. 2.15+ is installed * on the device under test * * @returns The actual content of the main clipboard as base64-encoded string or an empty string if the clipboard is empty * @throws {Error} If there was a problem while getting the clipboard content */ export declare function getClipboard(this: SettingsApp): Promise<string>; //# sourceMappingURL=clipboard.d.ts.map