get

operator fun get(index: Int): SwingNodeInteraction<T>

Returns a lazy handle to the match at index, in depth-first pre-order. Like every interaction, the handle re-resolves against the live tree on each use, so it tracks matches added or removed by recomposition; it fails on use when fewer than index + 1 nodes match.

onAllNodesWithText("row")[1].assertIsEnabled()

Return

a handle that fails on use unless at least index + 1 nodes match.

Parameters

index

the position within the match set, which is not the node's index among its parent's children.