title: keep "Disable developer mode" closed while adding extension
body: <p>I am using Java and Selenium to write a test. In order to prevent the download bar in Chrome I use:</p>
  
  <pre><code>options.addExtensions(new File("Upload\\Disable-Download-Bar_v1.5.crx"));
  capabilities.setCapability(ChromeOptions.CAPABILITY, options);
  </code></pre>
  
  <p>which works fine. The only issue is that at the start of the test it opens a popup window</p>
  
  <p><a href="https://i.stack.imgur.com/5NZrH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5NZrH.png" alt="enter image description here"></a></p>
  
  <p>I used </p>
  
  <pre><code>options.addArguments("chrome.switches","--disable-extensions");
  </code></pre>
  
  <p>to keep it closed but of course it prevented the extension and I had the download bar back. So how can I add the extension but keep this popup window closed? </p>