I'm working on a project based on Angular (5.0.0). As I am behind a proxy, I want to specify an internal CDN where ChromeDriver is hosted.
My .npmrc file contains the following property:
chromedriver_cdnurl=http://my-internal-cdn/chromedriver/
(also tested with alternate_cdn, without changes).
My command to run e2e is npm run e2e (which runs ng e2e --proxy-config proxy.conf.json) and fails with the following error:
webpack: Compiled successfully. events.js:182 throw er; // Unhandled 'error' event ^
Error: getaddrinfo ENOTFOUND chromedriver.storage.googleapis.com chromedriver.storage.googleapis.com:443 at errnoException (dns.js:53:10) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:95:26) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] e2e:
ng e2e --proxy-config proxy.conf.json
I'm not sure how I can tell to ng-cli to use this property so webdriver-manager can download the binaries from an internal CDN and not from chromedriver.storage.googleapis.com. Any idea?
I've not found anything interesting regarding this point in the protractor configuration.
Thanks.