and

infix fun and(other: SwingMatcher): SwingMatcher

Returns a matcher satisfied only when both this and other match.

Return

a matcher whose description joins both, so a failure names the whole condition.

Parameters

other

evaluated only after this matcher matches.