appium-android-driver
Version:
Android UiAutomator and Chrome support for Appium
16 lines • 971 B
TypeScript
import type { AndroidDriver } from '../../driver';
/**
* Executes an emulator console command.
*
* @param command - The actual command to execute.
* @param execTimeout - A timeout used to wait for a server reply to the given command in
* milliseconds. 60000ms by default
* @param connTimeout - Console connection timeout in milliseconds. 5000ms by default.
* @param initTimeout - Telnet console initialization timeout in milliseconds (the time between the
* connection happens and the command prompt is available)
* @returns The command output
* @throws {errors.InvalidArgumentError} If command is not provided
* @see {@link https://developer.android.com/studio/run/emulator-console}
*/
export declare function mobileExecEmuConsoleCommand(this: AndroidDriver, command: string | string[], execTimeout?: number, connTimeout?: number, initTimeout?: number): Promise<string>;
//# sourceMappingURL=emulator-console.d.ts.map