Sha256: f62c6060113552c713134d02ca84dbdf67c6069b59a4671e0711b11465d7a675

Contents?: true

Size: 464 Bytes

Versions: 55

Compression:

Stored size: 464 Bytes

Contents

# encoding: utf-8
module Appium::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
          self.send_keys text
        end
      end
    end
  end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
appium_lib-0.24.1 lib/appium_lib/android/patch.rb
appium_lib-0.24.0 lib/appium_lib/android/patch.rb
appium_lib-0.23.0 lib/appium_lib/android/patch.rb
appium_lib-0.22.1 lib/appium_lib/android/patch.rb
appium_lib-0.22.0 lib/appium_lib/android/patch.rb
appium_lib-0.21.0 lib/appium_lib/android/patch.rb
appium_lib-0.19.1 lib/appium_lib/android/patch.rb
appium_lib-0.19.0 lib/appium_lib/android/patch.rb
appium_lib-0.18.2 lib/appium_lib/android/patch.rb
appium_lib-0.18.1 lib/appium_lib/android/patch.rb
appium_lib-0.18.0 lib/appium_lib/android/patch.rb
appium_lib-0.17.0 lib/appium_lib/android/patch.rb
appium_lib-0.16.0 lib/appium_lib/android/patch.rb
appium_lib-0.15.2 lib/appium_lib/android/patch.rb
appium_lib-0.15.1 lib/appium_lib/android/patch.rb
appium_lib-0.15.0 lib/appium_lib/android/patch.rb
appium_lib-0.14.0 lib/appium_lib/android/patch.rb
appium_lib-0.13.0 lib/appium_lib/android/patch.rb
appium_lib-0.12.0 lib/appium_lib/android/patch.rb
appium_lib-0.11.1 lib/appium_lib/android/patch.rb