Selenium clicking on a div(Java) - GmailRegister
<p>Trying to select Gender in Gmail registration page.. Clicking on Gender is opening a DIV with 3 options.. I was able to find the options using xpath and also capture the text or tagname.. but, click is not working</p>

<pre><code>baseURL = "http://www.gmail.com";
driver.get(baseURL);
driver.findElement(By.id("link-signup")).click();

driver.findElement(By.id("Gender")).click();
Thread.sleep(1000);
driver.findElement(By.xpath("//div[@id='Gender']//div[@class='goog-menu goog-menu-vertical']//div[@id=':e']")).click();
</code></pre>