lib/appium_lib/android/espresso/element/button.rb
# Find all buttons containing value.
# If value is omitted, all buttons are returned.
# @param value [String] the value to search for
# @return [Array<Button>]
Find all buttons containing value.
If value is omitted, all buttons are returned.
Find all buttons containing value . If value is omitted all buttons are returned .
def buttons(value = false)
          return _button_visible_selectors_xpath unless value
          i = find_elements :xpath, _button_contains_string_xpath(BUTTON, value)
          e = find_elements :xpath, _button_contains_string_xpath(IMAGE_BUTTON, value)
          i + e
        end
def buttons ( value = false ) return _button_visible_selectors_xpath unless value i = find_elements :xpath , _button_contains_string_xpath ( BUTTON , value ) e = find_elements :xpath , _button_contains_string_xpath ( IMAGE_BUTTON , value ) i + e end
Find all buttons containing value.
Find all buttons containing value .
None
Array<Button>
value
the value to search for
the value to search for