toggleLocationServices
Toggle the state of the location service.
Usage​
await browser.toggleLocationServices()
Example​
toggleLocationServices.js
it('should toggle location services', async () => {
await browser.toggleLocationServices()
})
Support​
Supported platforms: Android
note
Refer to the official Appium driver documentation to see which driver versions support this command.