UNPKG

appium-ios-simulator

Version:
15 lines 487 B
"use strict"; 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