title: How to click on hidden element in Selenium WebDriver?
body: <p>I have a grid which displays some records. When I click on a record and inspect that element it is shown that it is hidden but it is visible in the grid. </p>
  
  <p>My HTML is:</p>
  
  <pre><code>&lt;a href="http://192.168.1.6/eprint_prod_3.8/settings/othercost_add.aspx?type=edit&amp;id=805" title="Plastic Spiral Bind"
  &lt;div style="float: left; width: 99%; overflow: hidden; height: 15px; overflow: hidden"&gt; Plastic Spiral Bind &lt;/div&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>The above code is hidden while inspecting but it is visible in grid.</p>
  
  <p>Selenium code:</p>
  
  <pre><code>driver.findElement(By.partialLinkText("Plastic Spiral Bind")).click();
  </code></pre>