title: Start Chrome in incognito mode when running capybara tests using chromedriver
body: <p>When running cucumber scenarios, I'd like to use Chrome in Incognito mode. I've tried a few suggestions found over the internet, but neither seems to be working.</p>
  
  <p>Currently, I came up to the following, and it starts chrome, but not in incognito mode</p>
  
  <pre><code>  Capybara.register_driver :selenium do |app|
    caps = Selenium::WebDriver::Remote::Capabilities.chrome("chromeOptions" =&gt; {"args" =&gt; %w["--incognito"]})
    Capybara::Selenium::Driver.new(app, {:browser =&gt; :chrome, :desired_capabilities =&gt; caps})
  end
  </code></pre>
  
  <p>Any tips?</p>