I have a lot of fields, which has the same xpath, so script execution fails after web recording. I found with help of Chrome DevTools, that all of these have different JS paths, like these:
Yes, I just copied these from dev tools. I see the same object in this form in Object spy: id("cert.type-button")/span[@class="ui-selectmenu-text"]
I am unable to capture objects manually with Object Spy, because object names are also the same, so I can’t capture the second one. So I can’t capture objects with this selector, which is the only unique identifier.
It’s saying in English, find the element with id cert and then find a first-child descendent HTML element <span> which has a class of ui-selectmenu-text.