webdriver warning the server did not provide any stacktrace information
<p>I have written <code>driver.findElement(By.id("kfiDocumentLink")).click();</code> code for clicking on the button 'KFI Document'.</p>

<p>Please find the HTML code.</p>

<pre><code>&lt;a class="button" id="kfiDocumentLink" href="/Quote/KFIDocument/The%20Co-operative%20Bank%20-%20Download%20Mortgage%20Illustration%20(PDF)%20160808104103" target="_blank"&gt;Download Mortgage Illustration (PDF)&lt;/a&gt;
</code></pre>

<p>When I run the code, sometimes I am able to click on the button and sometimes I am unable to click the button.</p>

<p>Could someone assist on this please?</p>