We need to click on each of the product name even if they have same name
We cannot click on Product desc section of rows as that does not redirect
The approach that we currently use works if the column contains different product names
But if same product name is present then multiple times it clicks on same product instead of next product
Kindly share some other approaches that could help
Try finding the selector from ui explorer and give in next selector proprty and check
Alternately use a loop around it to click on next and then for each ui element inside loop so till next is present the loop continues ..you can use check app state to see if next is still present
In some cases like the one you have shown in screenshot, next will be disabled if there is no next page.
So explore the selector of that next using ui explorer, and you would properties such as aria-disabled or some other property regarding its enabled/disabled mode.
So in your code, check if it’s disabled, don’t click else click.