Module: Appium::Core::Base::Device::TouchActions
- Included in:
- Bridge::MJSONWP, Bridge::W3C
- Defined in:
- lib/appium_lib_core/common/device/touch_actions.rb
Instance Method Summary collapse
Instance Method Details
#multi_touch(actions) ⇒ Object
28 29 30 |
# File 'lib/appium_lib_core/common/device/touch_actions.rb', line 28 def multi_touch(actions) execute :multi_touch, {}, actions: actions end |
#touch_actions(actions) ⇒ Object
23 24 25 26 |
# File 'lib/appium_lib_core/common/device/touch_actions.rb', line 23 def touch_actions(actions) actions = { actions: [actions].flatten } execute :touch_actions, {}, actions end |