Module: Appium::Core::Base::Device::Device

Included in:
Bridge::MJSONWP, Bridge::W3C
Defined in:
lib/appium_lib_core/common/device/device.rb

Instance Method Summary collapse

Instance Method Details

#device_time(format = nil) ⇒ Object


24
25
26
27
28
# File 'lib/appium_lib_core/common/device/device.rb', line 24

def device_time(format = nil)
  arg = {}
  arg[:format] = format unless format.nil?
  execute :device_time, {}, arg
end

#shakeObject


20
21
22
# File 'lib/appium_lib_core/common/device/device.rb', line 20

def shake
  execute :shake
end