angular / webdriver-manager

A binary manager for E2E testing
MIT License
224 stars 116 forks source link

Webdriver manager not updating. #428

Closed jmfadeley closed 5 years ago

jmfadeley commented 5 years ago

OS is Windows 10, using yarn. Currently using with protractor and @angular-webkit. Current version of Chrome is 77, but attempts to update results in use of 75, and the tests crash accordingly. Tried being specific with webdriver-manager update --version.chrome=77.0.3865.90, as well as --version.chrome and --version.chrome=latest. All do the following:

$ webdriver-manager update --version.chrome=77.0.3865.40
[16:22:22] I/file_manager - creating folder C:\...\workspace\upmc-irt-tool\node_modules\webdriver-manager\selenium
[16:22:22] I/config_source - curl -oC:\...\workspace\upmc-irt-tool\node_modules\webdriver-manager\selenium\standalone-response.xml https://selenium-release.storage.googleapis.com/
[16:22:22] I/config_source - curl -oC:\...\workspace\upmc-irt-tool\node_modules\webdriver-manager\selenium\chrome-response.xml https://chromedriver.storage.googleapis.com/
[16:22:22] I/config_source - curl -oC:\...\workspace\upmc-irt-tool\node_modules\webdriver-manager\selenium\gecko-response.json https://api.github.com/repos/mozilla/geckodriver/releases
[16:22:23] I/downloader - curl -oC:\...\workspace\upmc-irt-tool\node_modules\webdriver-manager\selenium/chromedriver_75.0.3770.140.zip https://chromedriver.storage.googleapis.com/75.0.3770.140/chromedriver_win32.zip
[16:22:23] I/downloader - curl -oC:\...\workspace\upmc-irt-tool\node_modules\webdriver-manager\selenium/selenium-server-standalone-3.141.59.jar https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar
[16:22:23] I/downloader - curl -oC:\...\workspace\upmc-irt-tool\node_modules\webdriver-manager\selenium/geckodriver-v0.25.0.zip https://github.com/mozilla/geckodriver/releases/download/v0.25.0/geckodriver-v0.25.0-win64.zip
[16:22:24] I/update - geckodriver: unzipping geckodriver-v0.25.0.zip
[16:22:27] I/update - chromedriver: unzipping chromedriver_75.0.3770.140.zip
Done in 8.64s.

To be honest, I'm not entirely certain this is in your purview because of dependencies elsewhere. Any advice?

jmfadeley commented 5 years ago

Further clarification, my version of Chrome right now is 77.0.3865.90. The response I'm getting for chrome-response.xml goes as high as 77.0.3865.40. It's a lot, so let me know if you want me to dump it here...

jmfadeley commented 5 years ago

Disregard. Issue traced specifically to a failure in another module. Work around is to import and use webdriver-manager directly. Closing.