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
If you application uses jQuery, you may do the clicks using Javascript. I created this simple helper for clicking elements that WebDriver refuses to find:
public static void jqClick(String selector, JavascriptExecutor driver) {
driver.executeScript("$('" + selector + "').click()");
}
As the "driver", you can use, for instance a org.openqa.selenium.firefox.FirefoxDriver.
This was the only solution that worked for me.