appium-ios-simulator
Version:
iOS Simulator interface for Appium.
15 lines • 487 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.setGeolocation = setGeolocation;
/**
* Sets the geolocation for the simulator.
*
* @param latitude The latitude coordinate.
* @param longitude The longitude coordinate.
* @returns True if the geolocation was set successfully.
*/
async function setGeolocation(latitude, longitude) {
await this.simctl.setLocation(latitude, longitude);
return true;
}
//# sourceMappingURL=geolocation.js.map