appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
23 lines • 872 B
TypeScript
import type { StringRecord } from '@appium/types';
import type { XCUITestDriver } from '../driver';
import type { RunXCTestResult } from '../commands/types';
interface RunXCTestOptions {
testRunnerBundleId: string;
appUnderTestBundleId: string;
xcTestBundleId: string;
args?: string[];
testType?: 'app' | 'ui' | 'logic';
env?: StringRecord;
timeout?: number;
}
export declare class XCTestClient {
private readonly deps;
private constructor();
static fromDriver(driver: XCUITestDriver): XCTestClient;
run({ testRunnerBundleId, appUnderTestBundleId, xcTestBundleId, args, testType, env, timeout, }: RunXCTestOptions): Promise<RunXCTestResult>;
installBundle(xctestApp: string): Promise<void>;
listBundles(): Promise<string[]>;
private assertRealDeviceRemoteXpc;
}
export {};
//# sourceMappingURL=xctest-client.d.ts.map