title: what is the difference between "//div[.//a[text()='SELENIUM']]" and "//div[//a[text()='SELENIUM']]" in selenium xpath
body: <p>what is the difference between "//div[.//a[text()='SELENIUM']]" and "//div[//a[text()='SELENIUM']]" in selenium xpath. </p>
  
  <p>Can some one please clarify my query on xpath, what is the difference when i give dot(.) before //a and without dot(.) .//a</p>
  
  <p>you can use the above mentioned xpath's in this url "<a href="http://demo.guru99.com/selenium/guru99home/" rel="nofollow noreferrer">http://demo.guru99.com/selenium/guru99home/</a>" to see the difference.</p>