title: Can't run Angular > 2 e2e using protractor behind a proxy
body: <p>will appreciate any help! </p>
  
  <ul>
  <li>I'm running on windows </li>
  <li>I installed protractor Version 5.3.0 globally</li>
  <li>Before updating webdriver I ran: <code>webdriver-manager clean</code></li>
  <li>And updated version as follows: </li>
  </ul>
  
  <blockquote>
    <p>webdriver-manager update --ie32 --proxy
    <a href="http://my-proxy:8080" rel="nofollow noreferrer">http://my-proxy:8080</a> --ignore_ssl</p>
  </blockquote>
  
  <ul>
  <li>node version 9.2.1</li>
  <li>npm version 5.7.1 </li>
  <li>started dev server before starting e2e..</li>
  </ul>
  
  <p>my protractor.conf file is as follows:</p>
  
  <pre><code>     const { SpecReporter } = require('jasmine-spec-reporter');
  
      exports.config = {
        allScriptsTimeout: 11000,
        specs: [
          './e2e/**/*.e2e-spec.ts'
        ],
          capabilities: {
      'browserName': 'chrome',
      'proxyType': 'manual',
      'httpProxy': 'http://my-proxy:8080'
    },
        directConnect: true,
        baseUrl: 'http://localhost:4200/',
        framework: 'jasmine',
        jasmineNodeOpts: {
          showColors: true,
          defaultTimeoutInterval: 30000,
          print: function() {}
        },
        beforeLaunch: function() {
          require('ts-node').register({
            project: 'e2e/tsconfig.e2e.json'
          });
        },
        onPrepare() {
          jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
        }
      };
  </code></pre>
  
  <p>Tried to ran tests first by: <code>ng e2e</code>
  second by: </p>
  
  <pre><code>ng e2e --config ./protractor.conf.js --specs ./e2e\app.e2e-spec.ts
  </code></pre>
  
  <p>And still getting this proxy error:</p>
  
  <pre><code>events.js:136
        throw er; // Unhandled 'error' event
        ^
  
      Error: getaddrinfo ENOTFOUND chromedriver.storage.googleapis.com chromedriver.storage.googleapis.com:443
          at errnoException (dns.js:55:10)
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:26)
  </code></pre>