Sha256: 236948e311529195463a2cafed1cbad9eb407f317e310e24aae331a86cbd25fe
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
require_relative 'element/text' require_relative 'element/textfield' require_relative 'element/generic' require_relative 'element/button' module Appium module Ios module Xcuitest module Element # @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 # Enable access to iOS accessibility label # accessibility identifier is supported as 'name' def label attribute('label') end # Cross platform way of entering text into a textfield def type(text) send_keys text end # def type end # Selenium::WebDriver::Element.class_eval end # def patch_webdriver_element end # module Element end # module Xcuitest end # module Ios end # module Appium
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appium_lib-9.6.1 | lib/appium_lib/ios/xcuitest/element.rb |