selenium webdriver manager update - npm

百般思念 提交于 2019-12-05 23:04:56

I have solved the issue as below,

// Update chrome alone
    webdriver-manager update --standalone=0 --chrome --alternate_cdn http://chromedriver.storage.googleapis.com/

// Update selenium alone
    webdriver-manager update --chrome=0 --standalone --alternate_cdn http://selenium-release.storage.googleapis.com/

I was facing same issue and got the below error when running update chrome driver. Error: Got error Error: self signed certificate in certificate chain from https://chromedriver.storage.googleapis.com/2.21/chromedriver_win32.zip I manually downloaded the driver saved it as node_modules\protractor\selenium\chromedriver_2.21.exe and it worked. I was running it from my office network

it actually works over http as well: http://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar , just find-replace it inside the library.

Or download it manually to: node_modules/protractor/selenium

i had same problem.

Solution for me was updating node.js (best way to do it - just download latest version and install it).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!