lib/appium_lib/ios/xcuitest/element/text.rb
# Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index.
# @param value [String, Integer] the value to find.
# If int then the UIAStaticText|XCUIElementTypeStaticText at that index is returned.
# @return [UIA_STATIC_TEXT|XCUIELEMENT_TYPE_STATIC_TEXT]
Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index.
Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index .
def text(value)
          return ele_index static_text_class, value if value.is_a? Numeric
          raise_error_if_no_element texts(value).first
        end
def text ( value ) return ele_index static_text_class , value if value . is_a? Numeric raise_error_if_no_element texts ( value ) . first end
Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index.
Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index .
None
UIA_STATIC_TEXT|XCUIELEMENT_TYPE_STATIC_TEXT
value
the value to find. If int then the UIAStaticText|XCUIElementTypeStaticText at that index is returned.
the value to find . If int then the UIAStaticText|XCUIElementTypeStaticText at that index is returned .