.setGeolocation() Suggest edits
Set the current geolocation of the mobile device.
Usage
.appium.setGeolocation({latitude, longitude, altitude}, [callback])
Example
Or run locally with:
Parameters
Name | Type | description |
---|---|---|
coordinates Optional |
object |
|
callback Optional |
function | Optional callback function to be called when the command finishes. |