我尝试使用“webdriver-manager”更新 selenium webdriver,但出现错误,
Error: Got error Error: read ECONNRESET from https://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar
Error: Got error Error: read ECONNRESET from https://selenium-release.storage.googleapis.com/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)
我不确定是什么原因。我也尝试更新量角器,但没有运气。
我也尝试以管理员身份运行命令提示符并运行
webdriver-manager update --ignore_ssl
请帮忙。