Sha256: 442d10638b5be7288ebee161230790c317071b0b4443b5219ba3fcf7a4fee3f1

Contents?: true

Size: 484 Bytes

Versions: 36

Compression:

Stored size: 484 Bytes

Contents

module Appium
  module Android
    # @private
    # class_eval inside a method because class Selenium::WebDriver::Element
    # will trigger as soon as the file is required. in contrast a method
    # will trigger only when invoked.
    def patch_webdriver_element
      Selenium::WebDriver::Element.class_eval do
        # Cross platform way of entering text into a textfield
        def type(text)
          send_keys text
        end
      end
    end
  end # Android
end # Appium

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
appium_lib-9.6.1 lib/appium_lib/android/patch.rb
appium_lib-9.6.0 lib/appium_lib/android/patch.rb
appium_lib-9.5.0 lib/appium_lib/android/patch.rb
appium_lib-9.4.10 lib/appium_lib/android/patch.rb
appium_lib-9.4.9 lib/appium_lib/android/patch.rb
appium_lib-9.4.8 lib/appium_lib/android/patch.rb
appium_lib-9.4.7 lib/appium_lib/android/patch.rb
appium_lib-9.4.6 lib/appium_lib/android/patch.rb
appium_lib-9.4.5 lib/appium_lib/android/patch.rb
appium_lib-9.4.4 lib/appium_lib/android/patch.rb
appium_lib-9.4.3 lib/appium_lib/android/patch.rb
appium_lib-9.4.2 lib/appium_lib/android/patch.rb
appium_lib-9.4.1 lib/appium_lib/android/patch.rb
appium_lib-9.4.0 lib/appium_lib/android/patch.rb
appium_lib-9.3.8 lib/appium_lib/android/patch.rb
appium_lib-9.3.7 lib/appium_lib/android/patch.rb
appium_lib-9.3.6 lib/appium_lib/android/patch.rb
appium_lib-9.3.5 lib/appium_lib/android/patch.rb
appium_lib-9.3.4 lib/appium_lib/android/patch.rb
appium_lib-9.3.3 lib/appium_lib/android/patch.rb