Am using selenium webdriver 2.210 + JAVA for testing.I have a sample code for selecting all mails in gmail.But the code throws an \"Element is not currently visible and so m
JavascriptExecutor executor = (JavascriptExecutor)driver;
executor.executeScript("document.getElementById('id').setAttribute('visibility', 'true');");
driver.findElement(By.id("id")).click();
by changing the visibility of the element you can perform your action. you can either click with selenium or with JavascriptExecutor