Sha256: e1a4130ded5bfc8c17ea44eb45e04199d5d3ab3c36ac8ad82cc0f8b39796ac51

Contents?: true

Size: 598 Bytes

Versions: 10

Compression:

Stored size: 598 Bytes

Contents

module Appium
  module Core
    module Ios
      module Touch
        def self.extend_touch_actions
          ::Appium::Core::TouchAction.class_eval do
            # Visible for testing
            # @private
            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

10 entries across 10 versions & 1 rubygems

Version Path
appium_lib_core-1.3.0 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.2.7 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.2.6 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.2.5 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.2.4 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.2.3 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.2.2 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.2.1 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.2.0 lib/appium_lib_core/ios/touch.rb
appium_lib_core-1.1.0 lib/appium_lib_core/ios/touch.rb