subscript(_:)
Returns a descendant element that matches a provided identifier.
Declaration
subscript(key: String) -> XCUIElement { get }Parameters
- key:
A string to match against any one of each element’s identifying properties: Identifier, Title, Label, Value, or Placeholdervalue.