appium-ios-simulator
Version:
iOS Simulator interface for Appium.
12 lines • 544 B
TypeScript
import type { CoreSimulator, SupportsGeolocation } from '../types';
type CoreSimulatorWithGeolocation = CoreSimulator & SupportsGeolocation;
/**
* Sets the geolocation for the simulator.
*
* @param latitude The latitude coordinate.
* @param longitude The longitude coordinate.
* @returns True if the geolocation was set successfully.
*/
export declare function setGeolocation(this: CoreSimulatorWithGeolocation, latitude: string | number, longitude: string | number): Promise<boolean>;
export {};
//# sourceMappingURL=geolocation.d.ts.map