io.appium.settings
Version:
App for dealing with Android settings
21 lines • 1.04 kB
TypeScript
import type { SettingsApp } from '../client';
/**
* Performs the given editor action on the focused input field.
* This method requires Appium Settings helper to be installed on the device.
* No exception is thrown if there was a failure while performing the action.
* You must investigate the logcat output if something did not work as expected.
*
* @param action - Either action code or name. The following action names are supported:
* `normal, unspecified, none, go, search, send, next, done, previous`
*/
export declare function performEditorAction(this: SettingsApp, action: string | number): Promise<void>;
/**
* Types the given Unicode string.
* It is expected that the focus is already put
* to the destination input field before this method is called.
*
* @param text The string to type
* @returns `true` if the input text has been successfully sent to adb
*/
export declare function typeUnicode(this: SettingsApp, text: string | null | undefined): Promise<boolean>;
//# sourceMappingURL=typing.d.ts.map