webdriverio-workflo
Version:
This is a customized version of webdriverio for use with workflo framework.
14 lines (12 loc) • 350 B
JavaScript
/**
*
* Captures iOS device date and time (command works only for real devices).
*
* @see https://github.com/appium/appium-ios-driver/blob/master/lib/commands/general.js#L19-L35
* @type mobile
* @for ios
*
*/
export default function getDeviceTime () {
return this.requestHandler.create('/session/:sessionId/appium/device/system_time')
}