Is it possible to work with the lists, e.g. interact with a first element with defined locator? #764
Replies: 1 comment
-
The typical error I'm trying to avoid in this case: |
Beta Was this translation helpful? Give feedback.
-
The typical error I'm trying to avoid in this case: |
Beta Was this translation helpful? Give feedback.
-
So, I have this method to check the visibility of some element:
using it like this
await this.app.isVisible(testData.button);
and this method to click on some element:
using it like this
await this.app.tapOn(testData.button);
where
button
is:But there are multiple widgets with the same locator and it's not possible to add some specific to each of them
So, how can I check only first, second, etc.?
Beta Was this translation helpful? Give feedback.
All reactions