title: How to get Absolute XPath in Chrome or Firefox?
body: <p>As written in the question I need the <strong>absolute</strong> Xpath and not the relative one.</p>
  
  <p>I mean, 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>and not like this: </p>
  
  <pre><code>//*[@class='featured-box']//*[text()='Testing']
  </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>Please note, I am using Firefox Quantum and I cannot use firebug or firepath because they are not supported.</p>