title: Not able to doubleClick Selenium Java
body: <p>I am a beginner in Automation Testing. I have installed Eclipse as an IDE for performing Automation Task and the language I am using is Java. I have a module in my web-app in which I need to perform double click on a web element very fast. The time difference between the first and second clicks should be less than half a second.</p>
  
  <p>I have written the following code: </p>
  
  <pre><code>Actions actions = new Actions(driver);
  actions.doubleClick(driver.findElement(By.xpath("//div[contains(text(), 'Sonam')]"))).doubleClick().build().perform();
  </code></pre>
  
  <p>What am I doing wrong?</p>