onAllNodesWithText

abstract fun onAllNodesWithText(text: @Nls String, substring: Boolean = false): SwingNodeInteractionCollection<Component>

Finds all nodes whose text equals text (or contains it when substring is true).

Return

a handle to the match set, empty rather than failing when nothing matches.

Parameters

text

matched against each candidate's own text, as onNodeWithText matches it.

substring

true widens the match to text containing text; false by default.