lib/appium_lib/android/espresso/element/button.rb
# Find the first button that exactly matches value.
# @param value [String] the value to match exactly
# @return [Button]
Find the first button that exactly matches value.
Find the first button that exactly matches value .
def button_exact(value)
          i = find_elements :xpath, _button_exact_string_xpath(BUTTON, value)
          e = find_elements :xpath, _button_exact_string_xpath(IMAGE_BUTTON, value)
          raise_no_such_element_if_empty(i + e)
          (i + e)[0]
        end
def button_exact ( value ) i = find_elements :xpath , _button_exact_string_xpath ( BUTTON , value ) e = find_elements :xpath , _button_exact_string_xpath ( IMAGE_BUTTON , value ) raise_no_such_element_if_empty ( i + e ) ( i + e ) [ 0 ] end
Find the first button that exactly matches value.
Find the first button that exactly matches value .
None
Button
value
the value to match exactly
the value to match exactly