DescendantsMatching

public protocol DescendantsMatching

Protocol for types that implement descendantsMatchingType method.

  • Methods provided by the XCTest framework for some types.

    Declaration

    Swift

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

    Parameters

    type

    Type of descendands to find.

    Return Value

    Query searching elements of given type.