There is an invisible element on my HTML page which becomes visible when a mouse hover is done on the element. What I Have to do is
using javascript executor like
((JavascriptExecutor) webdriver).executeScript("document.getElementById('btn').click();");