I have a list as you can see in the below screenshot. Basically the paper and pen icon is a button which I have to click on. After I am done clicking on the first one, I need to go to the second item in the list and so forth.
Currently I am able to click on all three but the problem is there could be more than just 3 so hard-coding the web recording will not cut it.
If you check the selectors, then they will have a common incremented number, so passing the selector by changing that particular integer in the selector everytime will help you to click on the buttons one by one @michaelamay0
To expand on what @HareeshMR noted. Get the table size. Initialize a loop to loop through the table size and set count++. Inside the loop pass count to the selector as the idx value. See the example below. Ignore the tableRow portion