lib/appium_lib/android/element/text.rb
# Find the first TextView that contains value or by index.
# @param value [String, Integer] the value to find.
# If int then the TextView at that index is returned.
# @return [TextView]
Find the first TextView that contains value or by index.
Find the first TextView that contains value or by index .
def text(value)
      return ele_index TEXT_VIEW, value if value.is_a? Numeric
      complex_find_contains TEXT_VIEW, value
    end
def text ( value ) return ele_index TEXT_VIEW , value if value . is_a? Numeric complex_find_contains TEXT_VIEW , value end
Find the first TextView that contains value or by index.
Find the first TextView that contains value or by index .
None
TextView
value
the value to find. If int then the TextView at that index is returned.
the value to find . If int then the TextView at that index is returned .