Contents

children(matching:)

Returns a query for all direct children of the element matching the type you specify.

Declaration

func children(matching type: XCUIElement.ElementType) -> XCUIElementQuery

See Also

Querying descendant elements