Selectors that changes

How config a selector that changes to each execution?

Example: “xpath”: “//button[@id="ext-gen203"]”

Is there a special characterer to replace the number in my example?

try something like

//button[starts-with(@id,'ext-gen')]

Hi,

I have tried your solution but unfortunatelly, it didn´t work.

However, I replaced to another path. I put @class instead @id and I got the element. It worked.

Thanks for help!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.