Inside one of the steps I have multiple tags like
<option>link=storage locker for ${uniqueName}</option>
<option>//a[contains(text(),'storage locker for ${uniqueName}')]</option>
I noticed that depending on the browser OS the second version works better. Is there a way to force Katalon to try each option?
@ildarius
Do you want to pass in a list of locators and try them sequentially and use the first working one? Would something like that solve the problem?
Katalon Recorder can be extended with Javascript to add custom commands, and I think this wouldn’t be hard to achieve, but just want to clarify if the above solution is desirable.
We realized it’s a bit more complicated than that, but it’s doable. I’ll inform you when it’s available. (don’t worry we release KR regularly)
1 Like
@ildarius
In 5.5.0 we introduced self-healing which should automatically try each option. Please try it out and let me know if it works as expected.