toggleLocationServices
Toggle the state of the location service.
Note: Falls back to the deprecated Appium 2 protocol endpoint if the driver does not support the
mobile:execute method.
Usage
browser.toggleLocationServices()
Example
toggleLocationServices.js
it('should toggle location services', async () => {
await browser.toggleLocationServices()
})