title: ChromeDriver(Capabilities capabilities) is deprecated
body: <p>I use <code>ChromeDriver 2.33</code> with <code>WebDriver 3.6.0</code> and try to set default directory for file download.</p>
  
  <pre><code>Map&lt;String, Object&gt; prefs = new HashMap&lt;String, Object&gt;();
  prefs.put("download.default_directory", Vars.DOWNLOAD_FOLDER_ROOT);
  DesiredCapabilities caps = DesiredCapabilities.chrome();
  
  ChromeOptions options = new ChromeOptions();
  options.addArguments("--start-maximized");
  options.setExperimentalOption("prefs", prefs);
  caps.setCapability(ChromeOptions.CAPABILITY, options);
  driver = new ChromeDriver(caps);
  </code></pre>
  
  <p>I found this in docs:</p>
  
  <blockquote>
    <p>Use ChromeDriver(ChromeOptions) instead. Creates a new ChromeDriver
    instance. The capabilities will be passed to the chromedriver service.</p>
  </blockquote>