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-3.0.2 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-3.0.1 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-3.0.0 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.3.4 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.3.3 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.3.2 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.3.1 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.3.0 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.2.2 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.2.1 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.2.0 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.1.1 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.1.0 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.0.6 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.0.5 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.0.4 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.0.3 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.0.2 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.0.1 lib/appium_lib_core/common/device/touch_actions.rb
appium_lib_core-2.0.0 lib/appium_lib_core/common/device/touch_actions.rb