element(matching:)
Matches the predicate.
Declaration
func element(matching predicate: NSPredicate) -> XCUIElementParameters
- predicate:
The predicate to match.
Discussion
The predicate evaluates against objects that conform to the XCUIElementAttributes protocol.