lib/appium_lib/common/helper.rb in appium_lib-0.12.0 vs lib/appium_lib/common/helper.rb in appium_lib-0.13.0
- old
+ new
@@ -225,9 +225,17 @@
# @return [Element]
def tag tag_name
find_element :tag_name, tag_name
end
+ # Returns all elements matching tag_name
+ #
+ # @param tag_name [String] the tag_name to search for
+ # @return [Element]
+ def tags tag_name
+ find_elements :tag_name, tag_name
+ end
+
# Converts pixel values to window relative values
#
# ```ruby
# px_to_window_rel x: 50, y: 150
# ```
\ No newline at end of file