You can't click hidden elements with Selenium.
However, you can trigger the click through Javascript, [as found on SO][1]:

    JavascriptExecutor js = (JavascriptExecutor)driver;
    js.executeScript("arguments[0].click();", element);


  [1]: https://stackoverflow.com/questions/22110282/how-to-click-on-hidden-element-in-selenium-webdriver