admin管理员组文章数量:1400614
I tried to update the selenium webdriver using the "webdriver-manager", but i get the error as,
Error: Got error Error: read ECONNRESET from .48/selenium-server-standalone-2.48.2.jar
Error: Got error Error: read ECONNRESET from .48/selenium-server-standalone-2.48.2.jar
fs.js:60
throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs
^
Error: EPERM: operation not permitted, unlink 'C:\Users\user_name\AppData\Roaming\npm\node_modules\protractor\selenium\selenium-server-standalone-2.48.2.jar'
at Error (native)
I am not sure what was the cause. I tried updating the protractor too, but no luck.
Also i tried running the mand prompt as administrator and run
webdriver-manager update --ignore_ssl
Please help.
I tried to update the selenium webdriver using the "webdriver-manager", but i get the error as,
Error: Got error Error: read ECONNRESET from https://selenium-release.storage.googleapis./2.48/selenium-server-standalone-2.48.2.jar
Error: Got error Error: read ECONNRESET from https://selenium-release.storage.googleapis./2.48/selenium-server-standalone-2.48.2.jar
fs.js:60
throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs
^
Error: EPERM: operation not permitted, unlink 'C:\Users\user_name\AppData\Roaming\npm\node_modules\protractor\selenium\selenium-server-standalone-2.48.2.jar'
at Error (native)
I am not sure what was the cause. I tried updating the protractor too, but no luck.
Also i tried running the mand prompt as administrator and run
webdriver-manager update --ignore_ssl
Please help.
Share Improve this question edited Feb 16, 2017 at 20:25 craig 5,0161 gold badge24 silver badges40 bronze badges asked Jan 11, 2016 at 10:23 AJJAJJ 3,6287 gold badges47 silver badges78 bronze badges 2- 1 Could you try manually downloading selenium-release.storage.googleapis./2.48/… ? It looks like some firewall/dns/whatever network error. – cvakiitho Commented Jan 11, 2016 at 11:02
- @cvakiitho yes, it is a firewall problem. Can you let me know how can we download from http site instead of https? where can i change this config in selenium update? – AJJ Commented Jan 11, 2016 at 14:10
4 Answers
Reset to default 2I have solved the issue as below,
// Update chrome alone
webdriver-manager update --standalone=0 --chrome --alternate_cdn http://chromedriver.storage.googleapis./
// Update selenium alone
webdriver-manager update --chrome=0 --standalone --alternate_cdn http://selenium-release.storage.googleapis./
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./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./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).
本文标签: javascriptselenium webdriver manager updatenpmStack Overflow
版权声明:本文标题:javascript - selenium webdriver manager update - npm - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744269634a2598119.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论