Sha256: 15ff6394f763295c2331dddb4f50867aaa5b2474db428b6c54c5bcd8f2ded2cb

Contents?: true

Size: 566 Bytes

Versions: 28

Compression:

Stored size: 566 Bytes

Contents

require_relative '../touch_action/touch_actions'
require_relative '../touch_action/multi_touch'

module Appium
  module Core
    class Base
      module Device
        module TouchActions
          def touch_actions(actions)
            actions = { actions: [actions].flatten }
            execute :touch_actions, {}, actions
          end

          def multi_touch(actions)
            execute :multi_touch, {}, actions: actions
          end
        end # module TouchActions
      end # module Device
    end # class Base
  end # module Core
end # module Appium

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
appium_lib_core-1.9.2 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-1.9.1 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-1.9.0 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-1.8.4 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-1.8.3 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-1.8.2 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-1.8.1 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-1.8.0 lib/appium_lib_core/common/device/touch_actions.rb