element(matching:identifier:)
Matches the provided element type and identifier.
Declaration
func element(matching elementType: XCUIElement.ElementType, identifier: String?) -> XCUIElementParameters
- elementType:
The element type to match.
- identifier:
An optional identifier string to match against any one of each element’s identifying properties: Identifier, Title, Label, Value, or Placeholdervalue.