我正在尝试通过发出命令来安装 webdriver-manager
webdriver-manager update
我得到以下输出
webdriver-manager: using global installed version 12.0.6
(node:6312) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec
tion id: 1): Error: response status code is not 200
(node:6312) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
Node.js process with a non-zero exit code.
(node:6312) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec
tion id: 2): Error: response status code is not 200
[16:32:42] I/update - geckodriver: file exists C:\Users\osheikh\AppData\Roaming\
npm\node_modules\webdriver-manager\selenium\geckodriver-v0.19.1.zip
[16:32:42] I/update - geckodriver: unzipping geckodriver-v0.19.1.zip
[16:32:42] I/update - geckodriver: geckodriver-v0.19.1.exe up to date
错误响应状态码不是200是指什么
我的 webdriver-manager 状态输出是
C:\Windows\system32>webdriver-manager status
webdriver-manager: using global installed version 12.0.6
[15:58:44] I/status - geckodriver version available: v0.19.1
[15:58:44] I/status - selenium standalone is not present
[15:58:44] I/status - chromedriver is not present
[15:58:44] I/status - IEDriverServer is not present
[15:58:44] I/status - android-sdk is not present
[15:58:44] I/status - appium is not present
我的java版本和量角器版本如下
C:\Windows\system32>java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
C:\Windows\system32>protractor --version
Version 5.3.0