angular / webdriver-manager

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

"webdriver-manager update" downloads chrome driver version 93 instead of 92. #501

Open ayellamanchilli opened 3 years ago

ayellamanchilli commented 3 years ago

There is now way I can update Chrome browser to 93. Just wondering why webdriver-manager update downloads 93 instead of 92 version driver. Below is the console log:

11:15:57 > webdriver-manager update 11:15:57 11:15:57 [11:19:06] I/file_manager - creating folder C:\Jenkins\workspace\maestro\test\protractor\node_modules\webdriver-manager\selenium 11:15:57 [11:19:06] I/config_source - curl -oC:\Jenkins\workspace\maestro\test\protractor\node_modules\webdriver-manager\selenium\standalone-response.xml https://selenium-release.storage.googleapis.com/ 11:15:57 [11:19:06] I/config_source - curl -oC:\Jenkins\workspace\maestro\test\protractor\node_modules\webdriver-manager\selenium\chrome-response.xml https://chromedriver.storage.googleapis.com/ 11:15:57 [11:19:06] I/config_source - curl -oC:\Jenkins\workspace\maestro\test\protractor\node_modules\webdriver-manager\selenium\gecko-response.json https://api.github.com/repos/mozilla/geckodriver/releases 11:16:01 [11:19:10] I/downloader - curl -oC:\Jenkins\workspace\maestro\test\protractor\node_modules\webdriver-manager\selenium/chromedriver_93.0.4577.15.zip https://chromedriver.storage.googleapis.com/93.0.4577.15/chromedriver_win32.zip 11:16:01 [11:19:10] I/update - chromedriver: unzipping chromedriver_93.0.4577.15.zip 11:16:02 [11:19:10] I/downloader - curl -oC:\Jenkins\workspace\maestro\test\protractor\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 11:16:03 [11:19:12] I/downloader - curl -oC:\Jenkins\workspace\maestro\test\protractor\node_modules\webdriver-manager\selenium/geckodriver-v0.29.1.zip https://github.com/mozilla/geckodriver/releases/download/v0.29.1/geckodriver-v0.29.1-win64.zip 11:16:03 [11:19:12] I/update - geckodriver: unzipping geckodriver-v0.29.1.zip

11:16:05 [11:19:13] I/launcher - Running 1 instances of WebDriver 11:16:05 [11:19:13] I/direct - Using ChromeDriver directly... 11:16:06 [11:19:14] E/launcher - session not created: This version of ChromeDriver only supports Chrome version 93 11:16:06 Current browser version is 92.0.4515.107 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe 11:16:06 (Driver info: chromedriver=93.0.4577.15 (660fc11082ba57405eca2e8c49c3e1af756fbfae-refs/branch-heads/4577@{#203}),platform=Windows NT 10.0.17763 x86_64) 11:16:06 [11:19:14] E/launcher - SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 93 11:16:06 Current browser version is 92.0.4515.107 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe 11:16:06 (Driver info: chromedriver=93.0.4577.15 (660fc11082ba57405eca2e8c49c3e1af756fbfae-refs/branch-heads/4577@{#203}),platform=Windows NT 10.0.17763 x86_64) 11:16:06 at Object.checkLegacyResponse (C:\Jenkins\workspace\maestro\test\protractor\node_modules\selenium-webdriver\lib\error.js:546:15) 11:16:06 at parseHttpResponse (C:\Jenkins\workspace\maestro\test\protractor\node_modules\selenium-webdriver\lib\http.js:509:13) 11:16:06 at C:\Jenkins\workspace\maestro\test\protractor\node_modules\selenium-webdriver\lib\http.js:441:30 11:16:06 at processTicksAndRejections (internal/process/task_queues.js:93:5) 11:16:06 From: Task: WebDriver.createSession() 11:16:06 at Function.createSession (C:\Jenkins\workspace\maestro\test\protractor\node_modules\selenium-webdriver\lib\webdriver.js:769:24) 11:16:06 at Function.createSession (C:\Jenkins\workspace\maestro\test\protractor\node_modules\selenium-webdriver\chrome.js:761:15) 11:16:06 at Direct.getNewDriver (C:\Jenkins\workspace\maestro\test\protractor\node_modules\protractor\built\driverProviders\direct.js:77:33) 11:16:06 at Runner.createBrowser (C:\Jenkins\workspace\maestro\test\protractor\node_modules\protractor\built\runner.js:195:43) 11:16:06 at C:\Jenkins\workspace\maestro\test\protractor\node_modules\protractor\built\runner.js:339:29 11:16:06 at _fulfilled (C:\Jenkins\workspace\maestro\test\protractor\node_modules\q\q.js:834:54) 11:16:06 at C:\Jenkins\workspace\maestro\test\protractor\node_modules\q\q.js:863:30 11:16:06 at Promise.promise.promiseDispatch (C:\Jenkins\workspace\maestro\test\protractor\node_modules\q\q.js:796:13) 11:16:06 at C:\Jenkins\workspace\maestro\test\protractor\node_modules\q\q.js:556:49 11:16:06 at runSingle (C:\Jenkins\workspace\maestro\test\protractor\node_modules\q\q.js:137:13) 11:16:06 [11:19:14] E/launcher - Process exited with error code 199