Development

Santa Claus is a master UX designer, seamlessly combining advanced technology, rigorous testing, and a touch of magic to deliver…

http://v4.webdriver.io/api/mobile/getGeoLocation.html
As for the above documentation, there is a method to get Geo locations when doing mobile automation.
But when I use it in my automation code, I’m getting an error.
driver.getGeoLocation is not a function

var location = browser.getGeoLocation()

So is there any way to use above getGeoLocation() method in my code to retrieve the geo coordinates.
As an alternative, I’m using await axios.get(‘https://ipinfo.io/loc’);

GitHub Wrapped * Toms Toys * Math4Devs * Supahero Source: Read MoreÂ