title: How to write dynamic xpath for a webElement?
body: <p>I have gone through from a lot of question on stackoverflow but didn't find the solution for my problem</p>
  
  <p>-There is an element on webpage which has text= "Success"
  Now I want to locate that element, id of the elements keeps changing. There are some other elements with a similar name say - successful, unsuccessful, successfully etc.. on the same page but I want to search the particular element "Success". How should I do it? In this case, </p>
  
  <blockquote>
    <p>I don't think- startsWith() and contains() methods of XPath will work.</p>
  </blockquote>