Open jrchudy opened 5 years ago
Upon trying one more thing before giving up for now, I found that we had this command hidden in our project node_modules/protractor/bin/webdriver-manager update --versions.standalone 3.6.0
.
I repeated the process for a third time:
npm install
node_modules/protractor
and ran npm i webdriver-manager@latest
node_modules/protractor/bin/webdriver-manager update --versions.standalone 3.6.0
(this time with the standalone version flag) and everything works againYou can close this if you think it's a non-issue, but I think there might be some bugs with how webdriver-manager update
fetches the latest chrome driver. It took me having to uninstall my node_modules and reinstalling them, then forcing the installation of the most recent webdriver-manager
from inside protractor to get this working again.
I'm using Protractor version 5.4.2
.
I recently updated my chrome browser from chrome 76.xx (can't remember the build number) to chrome 78.0.3904.87. Protractor version =
5.4.2
This initially caused problems with protractor because chromedriver was out of date. I ran
node node_modules/protractor/bin/webdriver-manager update
to make sure I had the latest chromedriver and was met with chromedriver_76.xx again. After some debugging and uninstalling of my node modules and reinstalling, I was getting the same chromedriver.I next tried to force the update in webdriver-manager by running
node node_modules/protractor/bin/webdriver-manager update --gecko=false --versions.chrome 78.0.3904.87
, but was met with a failed download because no chromedriver for that version of chrome exists.I then tried a simpler version in the same command (
78.0.3904
leaving off the trailing minor version) and was given an error as well. I next tried with the latest version I know exists for chrome 78,78.0.3904.70
, and got this error:I thought that was an odd error, but decided I would try one last thing which was to delete my node_modules and reinstall them again. Then I navigated to
node_modules/protractor
and rannpm i webdriver-manager@latest
. Then one more time,node node_modules/protractor/bin/webdriver-manager update
and I was met with the latest chromedriver for chrome 78 (chromedriver_78.0.3904.70
).I tried to run my tests again and was met with the same error above. This at least verified my suspicions that I was using the latest chromedriver for chrome 78. And also verified that that version of chromedriver hasn't a bug with a slightly newer version of chrome.
NOTE: I didn't try to downgrade from chrome 78.0.3904.87 to chrome 78.0.3904.70 as it is too much of a hassle.