atIndex
Returns a copy of this Selector constrained to target the element at the specified 0-indexed position index.
Example Usage
// Target the 3rd "Cancel" button (index 2)
click(text("Cancel").atIndex(2))Content copied to clipboard
Parameters
index
The 0-indexed position of the desired element among all matching nodes.