webdriverio-workflo
Version:
This is a customized version of webdriverio for use with workflo framework.
21 lines (19 loc) • 355 B
JavaScript
/**
*
* Switch the state (enabled/disabled) of data service.
*
* <example>
:toggleData.js
browser.toggleData()
* </example>
*
* @type mobile
* @for android
*
*/
export default function toggleData () {
return this.requestHandler.create({
path: '/session/:sessionId/appium/device/toggle_data',
method: 'POST'
})
}