title: c# - chromedriver - ignore-certificate-errors
body: <p>I'm trying to use ChromeDriver 2.4.226107 with Selenium 2.45, Google Chrome 42.0.2311.135, Visual Studio 2012, and .NET 4.5. My little test app compiles and runs, but when it launches a new Chrome window, I get this error:</p>
  
  <pre><code>"You are using an unsupported command-line flag: --ignore-certifiate-errors. Stability and security will suffer."
  </code></pre>
  
  <p>I carefully read <a href="https://code.google.com/p/chromedriver/issues/detail?id=799">this post</a> and tried many of the suggested fixes, but nothing worked. A proposed workaround/solution I saw again and again was to do this:</p>
  
  <pre><code>options.AddArgument("test-type");
  </code></pre>
  
  <p>This just doesn't do anything with Chrome 42.0. Here is my C# code (console app):</p>
  
  <pre><code>using(var driver = new ChromeDriver()) {
      driver.Navigate().GoToUrl("http://localhost/test.aspx");
  }
  </code></pre>
  
  <p>The Chrome window with error inside yellow bar looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/cALti.png" alt="enter image description here"></p>
  
  <ol>
  <li>Is there a solution?</li>
  <li>Is there a better/simpler way to run automated tests in Chrome webapps than Selenium?</li>
  </ol>