title: How to get xPath of a web element using Selenium Webdriver on Node JS?
body: <p>For example I get an element by using findElement function:</p>
  <pre><code>let myElement = await driver.findElement(By.id(2));
  </code></pre>
  <p>Is it possible to get myElement's xPath using Selenium-webdriver within Node.js?</p>