Open RonanCodes opened 6 years ago
Taking a look it appears that the curl fails to get a response which is causing the error indicating you had ran it on a closed network, what I did to avoid this was stop webdriver update from running at all via:
ng e2e --webdriver-update=false
It just requires you to make sure that the right driver files for whatever browser you are testing against is downloaded and put into the node_modules/protractor/node_modules/webdriver-manager/selenium directory. This is pretty straight forward once you bookmark the f2p sites where the drivers for the appropriate web browser is stored. Hope this helps.
Bug report
8.12.0
5.4.0
6.1
Chrome
Windows 7 Enterprise SP1
Your protractor configuration file
Output from running the test
Steps to reproduce the bug
Run:
ng new protractor-app
npm run build
npm run e2e
failure
Feature Request
I installed the
webdriver-manager
npm module and got the same above error when running:webdriver-manager update
.However it works when I run:
webdriver-manager update --proxy http://XXXXX.com:XXXX
I read on the webdriver-manager git project page that:
This leads me to believe that all of the various settings we can set via terminal flags on webdriver-manager; should also be allowed to be set via the protractor configuration file:
protractor.conf.js
.However, my above protractor config file is not working. Here is where this proxy info is stated: https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities#proxy-json-object I found this link within the protractor code in this file:
lib\config.ts
I'm created the app with:
ng new protractor-app
, so it's clean, nothing added.Summary
The proxy setting works for webdriver-manager standalone but not within protractor.