Sha256: 311a70ef0f59ab00f107c274f6dae97106b71d54ae5e68ec280b6a9971da28a3

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

module Appium
  module Core
    module Android
      module Touch
        def self.extend_touch_actions
          ::Appium::Core::TouchAction.class_eval do
            def swipe_coordinates(start_x: 0, start_y: 0, offset_x: 0, offset_y: 0)
              { offset_x: (start_x + offset_x), offset_y: (start_y + offset_y) }
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
appium_lib-9.7.5 lib/appium_lib/core/android/touch.rb
appium_lib-9.7.4 lib/appium_lib/core/android/touch.rb
appium_lib-9.7.3 lib/appium_lib/core/android/touch.rb