Sha256: 8d1002f9aa869c1d00895e8f1bb2f8f57b59dfa59cb11b1c5928bee54de2dea7

Contents?: true

Size: 486 Bytes

Versions: 3

Compression:

Stored size: 486 Bytes

Contents

module Appium
  module Core
    module Ios
      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)
              Appium::Logger.info "start_x: #{start_x}, start_y: #{start_y}, offset_x: #{offset_x}, offset_y: #{offset_y}"
              { offset_x: offset_x, offset_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/ios/touch.rb
appium_lib-9.7.4 lib/appium_lib/core/ios/touch.rb
appium_lib-9.7.3 lib/appium_lib/core/ios/touch.rb