how to click on hidden element in selenium code example
Example: how to handle hidden elements in selenium webdriver
JavascriptExecutor js=(JavascriptExecutor)driver;
js.executeScript("document.getElementsByClassName(ElementLocator).click();");
JavascriptExecutor js=(JavascriptExecutor)driver;
js.executeScript("document.getElementsByClassName(ElementLocator).click();");