Selector that attempts to match by explicit Compose testTag first, falling back to matching by visible text substring if no matching tag is found.
testTag
Optional 0-indexed constraint to pick a specific node if multiple match the query.
The raw query string or value used for matching.
Returns a copy of this Selector constrained to target the element at the specified 0-indexed position index.
Returns a copy of this Selector constrained to target the first matching element (index 0).
Returns a copy of this Selector constrained to target the last matching element (index -1).