Sha256: 5941e346aa21e5b467715ad5e9fce7db8d37bdaefcacad2feb9afba6dbd874e0
Contents?: true
Size: 451 Bytes
Versions: 12
Compression:
Stored size: 451 Bytes
Contents
# encoding: utf-8 module Appium::Android # 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
12 entries across 12 versions & 1 rubygems