 <p>There is a easier way to work around the problem using <code>JavascriptExecutor</code>.</p> <p>For example:</p> <pre><code>document.getElementsByClassName('post-tag')[0].click(); </code></pre> <p>The above javascript would click on the "Selenium" tag on the top right of this page (next to your question), even if it were hidden (hypothetically). </p> <p>All you need to do is issue this JS instruction via the <code>JavascriptExecutor</code> interface like so:</p> <pre><code>(JavascriptExecutor(webdriver)).executeScript("document.getElementsByClassName('post-tag')[0].click();"); </code></pre> <p>This would use the JS sandbox and synthetic click event to perform the click action. Although it defeats the purpose of WebDriver user activity simulation, you can use it in niche scenarios like in your case to good effect.</p>