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.11.0 lib/appium_lib/android/patch.rb
appium_lib-0.10.0 lib/appium_lib/android/patch.rb
appium_lib-0.9.1 lib/appium_lib/android/patch.rb
appium_lib-0.9.0 lib/appium_lib/android/patch.rb
appium_lib-0.8.0 lib/appium_lib/android/patch.rb
appium_lib-0.7.1 lib/appium_lib/android/patch.rb
appium_lib-0.7.0 lib/appium_lib/android/patch.rb
appium_lib-0.6.7 lib/appium_lib/android/patch.rb
appium_lib-0.6.6 lib/appium_lib/android/patch.rb
appium_lib-0.6.5 lib/appium_lib/android/patch.rb
appium_lib-0.6.4 lib/appium_lib/android/patch.rb
appium_lib-0.6.3 lib/appium_lib/android/patch.rb
appium_lib-0.6.2 lib/appium_lib/android/patch.rb
appium_lib-0.6.1 lib/appium_lib/android/patch.rb
appium_lib-0.6.0 lib/appium_lib/android/patch.rb
appium_lib-0.5.16 lib/appium_lib/android/patch.rb
appium_lib-0.5.15 lib/appium_lib/android/patch.rb
appium_lib-0.5.14 lib/appium_lib/android/patch.rb
appium_lib-0.5.13 lib/appium_lib/android/patch.rb
appium_lib-0.5.12 lib/appium_lib/android/patch.rb