Forum Discussion
rraghvani
Champion Level 3
Depending on the control, it could be possible. For example, the following date picker control is identified as a table - cells can be stored into an array that represents the dates. Also the date picker may have methods you can call to set a specific date too.
Use the Object Browser to see what the control exposes.
TestCoeUs1337
11 months agoOccasional Contributor
Thanks for your reply.. but if it was not for the date picker? For example if I had 5 buttons on the page and want to select third one? Can you do an equivallent of cypress .eq(2)? (starting indexing at 0...)?
- rraghvani11 months agoChampion Level 3
I'm not familiar with Cypress, but same principles apply. In this example, buttons can be accessed via their index value.
Related Content
- 3 years ago
- 2 years ago
Recent Discussions
- 12 hours ago