Sha256: 0537515d21ae229466a3c4f6dbb9fe49a5e043b1ec6e70780c3d7a12f6fdc041
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 KB
Contents
module Appium module Ios # Find the first element containing value # @param value [String] the value to search for # @return [Element] def find(value) if automation_name_is_xcuitest? find_ele_by_attr_include '*', '*', value else ele_by_json_visible_contains '*', value end end # Find all elements containing value # @param value [String] the value to search for # @return [Array<Element>] def finds(value) if automation_name_is_xcuitest? find_eles_by_attr_include '*', '*', value else eles_by_json_visible_contains '*', value end end # Find the first element exactly matching value # @param value [String] the value to search for # @return [Element] def find_exact(value) if automation_name_is_xcuitest? find_ele_by_attr '*', '*', value else ele_by_json_visible_exact '*', value end end # Find all elements exactly matching value # @param value [String] the value to search for # @return [Array<Element>] def finds_exact(value) if automation_name_is_xcuitest? find_ele_by_attr '*', '*', value else eles_by_json_visible_exact '*', value end end end # module Ios end # module Appium
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
appium_lib-9.1.0 | lib/appium_lib/ios/element/generic.rb |
appium_lib-9.0.0 | lib/appium_lib/ios/element/generic.rb |