UNPKG

appium-xcuitest-driver

Version:

Appium driver for iOS using XCUITest for backend

21 lines 998 B
import type { XCUITestDriver } from '../driver'; export interface SimctlExecResponse { /** The output of standard out. */ stdout: string; /** The output of standard error. */ stderr: string; /** Return code. */ code: number; } /** * Run the given command with arguments as `xcrun simctl` subcommand. * This method works behind the 'simctl' security flag. * * @param command - Subcommand to run with `xcrun simctl`. Must be one of the supported commands. * @param args - Arguments for the subcommand. The arguments should be after <device> in the help. * @param timeout - The maximum number of milliseconds * @returns The execution result with stdout, stderr, and return code * @throws If the simctl subcommand command returns non-zero return code, or the given subcommand was invalid. */ export declare function mobileSimctl(this: XCUITestDriver, command: string, args?: string[], timeout?: number): Promise<SimctlExecResponse>; //# sourceMappingURL=simctl.d.ts.map