vendor/bundle/gems/appium_lib-9.16.0/lib/appium_lib/android/uiautomator2/helper.rb
# Find the first element exactly matching value
# @param class_name [String] the class name for the element
# @param value [String] the value to search for
# @return [Element]
Find the first element exactly matching value
Find the first element exactly matching value
def complex_find_exact(class_name, value)
          elements = find_elements :uiautomator, string_visible_exact(class_name, value)
          raise _no_such_element if elements.empty?
          elements.first
        end
def complex_find_exact ( class_name , value ) elements = find_elements :uiautomator , string_visible_exact ( class_name , value ) raise _no_such_element if elements . empty? elements . first end
Find the first element exactly matching value
Find the first element exactly matching value
None
Element
class_name
the class name for the element
the class name for the element
value
the value to search for
the value to search for