title: Many chrome icons when running tests with chrome/headless chrome
body: <p>Recently I switched my cucumber tests from capybara-webkit to chrome. Every time I am running tests locally a new chrome icon appears in the Deck bar. But 5th icon disappears when I start a new test (eg I see maximum four chrome icons)</p>
  
  <p><a href="https://i.stack.imgur.com/oWtzo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oWtzo.png" alt="enter image description here"></a></p>
  
  <p>I use</p>
  
  <pre><code>ChromeDriver 2.43.600229 (3fae4d0cda5334b4f533bede5a4787f7b832d052)
  chrome Version 70.0.3538.110 (Official Build) (64-bit)
  </code></pre>
  
  <p>Gem versions:</p>
  
  <pre><code>selenium-webdriver (3.141.0)
  capybara (3.11.1)
  </code></pre>
  
  <p>My capybara driver set up:</p>
  
  <pre><code># features/support/env.rb
  
  require 'selenium-webdriver'
  
  Capybara.register_driver :chrome do |app|
    options = Selenium::WebDriver::Chrome::Options.new(args: %w[no-sandbox])
    options.headless! if tddium?
  
    Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
  end
  
  Capybara.javascript_driver = :chrome
  </code></pre>
  
  <p>When I am running tests in the headless mode I see that new chrome icons appear, but I don't see browser window</p>
  
  <p>How can I fix that?</p>