UNPKG

appium-xcuitest-driver

Version:

Appium driver for iOS using XCUITest for backend

21 lines 880 B
/** * A simulate-location session over lockdown/USB (legacy path for real devices on iOS < 17). * Callers must invoke {@link SimulateLocationSession#close | close()} when finished (typically in `finally`). */ export interface SimulateLocationSession { setLocation(latitude: number, longitude: number): void; resetLocation(): void; close(): void; } /** * Opens simulate-location sessions on the legacy `appium-ios-device` stack. * Real devices on iOS 17 and newer use WebDriverAgent (`mobile:setSimulatedLocation` / related commands) instead. */ export declare class SimulateLocationClient { /** * @param udid - Target device UDID * @returns A session; {@link SimulateLocationSession#close | close()} when done. */ static startSession(udid: string): Promise<SimulateLocationSession>; } //# sourceMappingURL=simulate-location-client.d.ts.map