lib/appium_lib/ios/element/generic.rb in appium_lib-6.0.0 vs lib/appium_lib/ios/element/generic.rb in appium_lib-7.0.0
- old
+ new
@@ -1,32 +1,31 @@
module Appium
module Ios
-
# Find the first element containing value
# @param value [String] the value to search for
# @return [Element]
- def find value
+ def find(value)
ele_by_json_visible_contains '*', value
end
# Find all elements containing value
# @param value [String] the value to search for
# @return [Array<Element>]
- def finds value
+ def finds(value)
eles_by_json_visible_contains '*', value
end
# Find the first element exactly matching value
# @param value [String] the value to search for
# @return [Element]
- def find_exact value
+ def find_exact(value)
ele_by_json_visible_exact '*', value
end
# Find all elements exactly matching value
# @param value [String] the value to search for
# @return [Array<Element>]
- def finds_exact value
+ def finds_exact(value)
eles_by_json_visible_exact '*', value
end
end # module Ios
-end # module Appium
\ No newline at end of file
+end # module Appium