Sha256: d799350178d2c1c5523e23a02a12e408972fa3f56c938b63f6280cf539af6fec

Contents?: true

Size: 541 Bytes

Versions: 3

Compression:

Stored size: 541 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 "extended Appium::Core::Ios::Touch, 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_core-1.0.0 lib/appium_lib_core/ios/touch.rb
appium_lib_core-0.1.1 lib/appium_lib_core/ios/touch.rb
appium_lib_core-0.1.0 lib/appium_lib_core/ios/touch.rb