Sha256: 61bbe5ad9ea38777fb57e1562044c3141a2d619ed293e05dd63d3661c92bd918
Contents?: true
Size: 1.12 KB
Versions: 8
Compression:
Stored size: 1.12 KB
Contents
module Appium module Ios class << self # @!method uiautomation_find # find_element/s can be used with a [UIAutomation command](https://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIAWindowClassReference/UIAWindow/UIAWindow.html#//apple_ref/doc/uid/TP40009930). # # ```ruby # find_elements :uiautomation, 'elements() # ``` # # @!method ios_predicate_string_find # find_element/s can be used with a [Predicates](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Predicates/AdditionalChapters/Introduction.html) # # ```ruby # find_elements :predicate, "isWDVisible == 1" # find_elements :predicate, 'wdName == "Buttons"' # find_elements :predicate, 'wdValue == "SearchBar" AND isWDDivisible == 1' # ``` def extended(_mod) ::Appium::Driver::SearchContext::FINDERS[:uiautomation] = '-ios uiautomation' ::Appium::Driver::SearchContext::FINDERS[:predicate] = '-ios predicate string' end end # class << self end # module Ios end # module Appium
Version data entries
8 entries across 8 versions & 1 rubygems