title: selenium find element using Xpath
body: <p>Any one help me how to find this element in selenium using java? when i Copy Xpath then it thrown Exception</p>
  
  <p><img src="https://i.stack.imgur.com/ZvEPu.png" alt="element screenshot"></p>
  
  <pre><code>driver.findElement(By.xpath("/html/body/approot/div/headerselector/header/div[2]/div[2]/img")).click();
  </code></pre>