appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
27 lines • 1.08 kB
TypeScript
import type { WdaHostOps } from 'appium-webdriveragent';
import type { XCUITestDriver } from '../driver';
interface HostStrategyCaps {
udid?: string;
platformVersion?: string;
webDriverAgentUrl?: string;
usePreinstalledWDA?: boolean;
[key: string]: any;
}
/**
* Whether the selected session strategy must avoid host-side Xcode/Simulator utilities.
*/
export declare function isStrictHostUtilityMode(opts: HostStrategyCaps, platform?: NodeJS.Platform): boolean;
/**
* Verifies host-only utility requirements that can be checked before device discovery.
*/
export declare function assertWdaHostSessionCapsSupported(opts: HostStrategyCaps, platform?: NodeJS.Platform): void;
/**
* Creates WebDriverAgent host operations provided by the XCUITest driver.
*/
export declare function createWdaHostOps(driver: XCUITestDriver): WdaHostOps;
/**
* Verifies the selected WDA lifecycle can run on the current host platform.
*/
export declare function assertWdaHostPlatformSupported(driver: XCUITestDriver): void;
export {};
//# sourceMappingURL=wda-host-ops.d.ts.map