Dynamic Xpath in Successfactors website

  • 8 November 2022
  • 2 replies

Badge +5

Hi Everyone,


I am trying to automate the Successfactors website and facing a peculiar issue. The DOMXpath keeps changing for every record and the change is not constant.


I tried to use the full xpath by inspecting the element in chrome but still its not working.


Can anyone please help me on this as its kind of urgent !!!

2 replies

Userlevel 2
Badge +7

@Abhishek Mishra​ What element are you trying to access? I assume there is not a unique ID on the element hence the issue you are having?


Is any part of the path remaining the same? There are possibly some xpath options to find the element from that position or find/start on a particular piece of text for example.

Badge +5

Hi Paul,

Actually the domxpath is same for the element but still it works sometimes and sometimes it doesn't and that is confusing.