title: How to click a href link using Selenium
body: <p>I have a <em>html</em> <code>href</code> link</p>
  <pre><code>&lt;a href=&quot;/docs/configuration&quot;&gt;App Configuration&lt;/a&gt;
  </code></pre>
  <p>using Selenium I need to click the link. Currently, I am using below code -</p>
  <pre><code>Driver.findElement(By.xpath(&quot;//a[text()='App Configuration']&quot;)).click(); 
  </code></pre>
  <p>But it's not redirecting to the page. I also tried below code -</p>
  <pre><code>Driver.findElement(By.xpath(//a[@href ='/docs/configuration']&quot;)).click();
  </code></pre>
  <p>But this is throwing below exception -</p>
  <pre><code>org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
  Command duration or timeout: 13 milliseconds
  </code></pre>
  <p>The link is visible and page is completely loaded. I don't know what's wrong with my code.</p>