forked from enviPath/enviPy
14 lines
350 B
JavaScript
14 lines
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')
|
|
}
|