title: How to get Absolute XPath in Chrome or Firefox
body: <p>I need to get absolute Xpath and not the relative one.  </p>
  
  <p>I need something like this:  </p>
  
  <pre><code>html/body/div[1]/section/div[1]/div/div/div/div[1]/div/div/div/div/div[3]/div[1]/div/h4[1]/b 
  </code></pre>
  
  <p>On both browsers when I inspect the code and I use right click -> copy XPath I am getting the relative Path.  </p>
  
  <p>Any tool or plugin available to get absolute path.  </p>
  
  <p>Please note, I am using selenium webdriver.</p>