title: get the default downloads folder path using Selenium WebDriver
body: <p>I am new to selenium and I would like to know how do I <strong>get</strong> the default path of the downloads folder of the browser(I'm using chrome) in the operating system.</p>
  
  <p>I just found a way to <strong>set</strong> the default path like this: </p>
  
  <pre><code> var chromeOptions = new ChromeOptions();
   chromeOptions.AddUserProfilePreference("download.default_directory", path);
   chromeOptions.AddUserProfilePreference("intl.accept_languages", "nl");
   chromeOptions.AddUserProfilePreference("disable-popup-blocking", "true");
   var driver = new ChromeDriver("Driver_Path", chromeOptions);
  </code></pre>