The strict selector will probably make the click more stable.
Now if that doesn’t work for you, maybe you can try with a parrallel activity to handle the click in both versions at the same time (start with checking if the button exists with an element exist in both branches). Also if that’s not already done, add a screenshot at the moment of the error to see what’s happening on the screen at that time (maybe the error occurs more on one version of the page than the other, does the button really appears and the click fails or the button is not at the screen yet), that will definitely help in finding the appropriate solution.
As a last solution, try with click => Image (without any selector, and relying only on the image of the button), i had used this option on highly dynamic elements where selectors where not stable, and that worked fine.
Let us know how it goes ![]()
2 Likes