@christian-bromann/webdriverio
Version:
A nodejs bindings implementation for selenium 2.0/webdriver
23 lines (20 loc) • 443 B
JavaScript
/**
*
* Switch the state (enabled/disabled) of the location service.
*
* <example>
:toggleLocationServices.js
browser.toggleLocationServices();
* </example>
*
* @type mobile
* @for android
*
*/
let toggleLocationServices = function () {
return this.requestHandler.create({
path: '/session/:sessionId/appium/device/toggle_location_services',
method: 'POST'
})
}
export default toggleLocationServices