title: Setting chromedriver preferences on protractor tests
body: <p>Trying to find a solution to download files during my tests, i found <a href="https://stackoverflow.com/questions/21935696/protractor-e2e-test-case-for-downloading-pdf-file">this</a> question that lead me to preferences file in chrome folder. </p>
  
  <p>Apparently, there are no info about shutting the prompt for download or/and setting a default folder. Does anyone knows how i can do this?</p>
  
  <p>Here's what i tried:</p>
  
  <pre><code>capabilities: {
          'browserName': 'chrome',
          'chromeOptions': {
  
              prefs: {
                  'downloads': {
                      'prompt_for_download': false,
                      'default_directory': '/downloads/'
                  }
              }
          }
      },
  </code></pre>