I am developing browser automation for a website, using xPaths as the element selector for browser interactions. Whenever the website I am working on gets updated, the element xPaths change randomly. Is there any way to overcome this issue, or do I have to test and modify the browser action xPaths every time there is an update to the website?
Discussion posts and replies are publicly visible
I suggest you to pick an other selector which not gonna alter with time Like CSS SELECTOR
https://docs.appian.com/suite/help/23.4/rpa-9.6/selectors.html
Hi Venky,
I have tried that, and other selectors are changing too. I felt more accurate detection using xPath and Link Text selectors compared to other options. Some elements don't have values for selectors such as name and tag.