Two Objects have same Xpath?

Katalon can select only the second. This is how it worked for me:

(//*[@class = 'ng-star-inserted' and @title = 'ERASE'])[last()]

Note: this is not the DevTools but I wrote this as a xpath selector in the Object Repository. The braces () are around the xpath and the [last()] part is added later. Try this, please.

2 Likes