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

Defined in:
lib/appium_lib_core/common/device/touch_actions.rb

Instance Method Summary collapse

Instance Method Details

#multi_touch(actions) ⇒ Object

Deprecated.

Use W3C actions instead



30
31
32
# File 'lib/appium_lib_core/common/device/touch_actions.rb', line 30

def multi_touch(actions)
  execute :multi_touch, {}, actions: actions
end

#touch_actions(actions) ⇒ Object

Deprecated.

Use W3C actions instead



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

def touch_actions(actions)
  actions = { actions: [actions].flatten }
  execute :touch_actions, {}, actions
end