Sha256: 1b267e375feebdbd0c6110eb1d588e273af28d43532d1ec61356dda74dc04edf

Contents?: true

Size: 588 Bytes

Versions: 8

Compression:

Stored size: 588 Bytes

Contents

module Appium
  module Android
    class << self
      # @!method uiautomator_find
      #   find_element/s can be used with a [UISelector](http://developer.android.com/tools/help/uiautomator/UiSelector.html).
      #
      #   ```ruby
      #    find_elements :uiautomator, 'new UiSelector().clickable(true)'
      #   ```
      def extended(_mod)
        Selenium::WebDriver::SearchContext.class_eval do
          Selenium::WebDriver::SearchContext::FINDERS[:uiautomator] = '-android uiautomator'
        end
      end
    end # class << self
  end # module Android
end # module Appium

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
appium_lib-9.0.0 lib/appium_lib/android/mobile_methods.rb
appium_lib-8.2.1 lib/appium_lib/android/mobile_methods.rb
appium_lib-8.2.0 lib/appium_lib/android/mobile_methods.rb
appium_lib-8.1.0 lib/appium_lib/android/mobile_methods.rb
appium_lib-8.0.2 lib/appium_lib/android/mobile_methods.rb
appium_lib-8.0.1 lib/appium_lib/android/mobile_methods.rb
appium_lib-8.0.0 lib/appium_lib/android/mobile_methods.rb
appium_lib-7.0.0 lib/appium_lib/android/mobile_methods.rb