Module: Appium::Core::Ios::SearchContext
- Defined in:
- lib/appium_lib_core/ios/search_context.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#ios_predicate_string_find ⇒ Object
find_element/s can be used with a [Predicates](developer.apple.com/library/content/documentation/Cocoa/Conceptual/Predicates/AdditionalChapters/Introduction.html).
-
#uiautomation_find ⇒ Object
find_element/s can be used with a [UIAutomation command](developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIAWindowClassReference/UIAWindow/UIAWindow.html#//apple_ref/doc/uid/TP40009930).
Class Method Details
.extend ⇒ Object
20 21 22 23 |
# File 'lib/appium_lib_core/ios/search_context.rb', line 20 def self.extend ::Appium::Core::Base::SearchContext.add_finders(uiautomation: '-ios uiautomation') ::Appium::Core::Base::SearchContext.add_finders(predicate: '-ios predicate string') end |
Instance Method Details
#ios_predicate_string_find ⇒ Object
find_element/s can be used with a [Predicates](developer.apple.com/library/content/documentation/Cocoa/Conceptual/Predicates/AdditionalChapters/Introduction.html)
20 21 22 23 |
# File 'lib/appium_lib_core/ios/search_context.rb', line 20 def self.extend ::Appium::Core::Base::SearchContext.add_finders(uiautomation: '-ios uiautomation') ::Appium::Core::Base::SearchContext.add_finders(predicate: '-ios predicate string') end |
#uiautomation_find ⇒ Object
find_element/s can be used with a [UIAutomation command](developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIAWindowClassReference/UIAWindow/UIAWindow.html#//apple_ref/doc/uid/TP40009930).
20 21 22 23 |
# File 'lib/appium_lib_core/ios/search_context.rb', line 20 def self.extend ::Appium::Core::Base::SearchContext.add_finders(uiautomation: '-ios uiautomation') ::Appium::Core::Base::SearchContext.add_finders(predicate: '-ios predicate string') end |