onAllNodesWithText

Finds all nodes inside this window's content 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.