title: Selenium Webdriver Xpath not working
body: <p>Im trying to click a link text using selenium webdriver but is not working,</p>
  
  <p>Here are the pictures </p>
  
  <p><a href="http://i.stack.imgur.com/Q8f42.png" rel="nofollow">HTML CODE</a> </p>
  
  <p><a href="http://i.stack.imgur.com/beidi.png" rel="nofollow">Offer Selection</a></p>
  
  <p>On firefox using firebug I got the xpath </p>
  
  <pre><code>html/body/div[1]/div/div/div[2]/div[2]/div[2]/a
  </code></pre>
  
  <p>I used </p>
  
  <p><code>driver.findElement(By.xpath("html/body/div[1]/div/div/div[2]/div[2]/div[2]/a")).click();</code></p>
  
  <p>but still doesnt work, any reason to why?</p>