How to stop Chrome's Select a certificate window?
<p>I'm working on a Selenium project and the system I need to test is using an SSL certificate. Every time when I try to login we are getting this &quot;Select a certificate&quot; window which we cannot handle with WebDriver.</p>
<p><img src="https://i.stack.imgur.com/8cXZH.jpg" alt="Chrome select a certificate window" /></p>
<p>I have tried clicking OK button using AutoItx as below. But the <code>Send(&quot;{ENTER}&quot;)</code> is not the best option.</p>
<pre><code>if (AutoItX.WinWaitActive(&quot;data:, - Google Chrome&quot;, &quot;&quot;, 10) == 0)
{
   AutoItX.WinActivate(&quot;data:, - Google Chrome&quot;);
   AutoItX.Send(&quot;{ENTER}&quot;);
}
</code></pre>
<p>Is there a way to click on OK button using AutoItX? Or is there a way we can load this certificate when defining ChromeDriver by using Capabilities?</p>