title: Setting specific capabilities for selenium webdriver
body: <p>I'm trying to set some specific capabilities for a <strong>Selenium Webdriver.</strong></p>
  
  <p>In this example i want to change a <code>capability of the webdriver</code> for the Firefox browser. I'm trying to this in <strong>Javascript</strong>.</p>
  
  <pre><code>this.driver = new selenium.Builder().forBrowser('firefox').build();
  </code></pre>
  
  <p>I tried things like calling <code>.withCapabilities()</code> but it is not working as i expected it and crashes the program.</p>
  
  <p>In specific i want to set the '<em>acceptSslCerts</em>' capability to true because it is false in default.</p>
  
  <p>Does anybody have an idea on how to this?
  I'm not able to find anything in the <a href="http://seleniumhq.github.io/selenium/docs/api/javascript/index.html" rel="nofollow noreferrer">API reference</a> or on the internet.</p>