小编Ami*_*Ami的帖子

Webdriver管理更新错误

我是新手使用量角器.尝试安装独立webdriver-manager但出现以下错误.

Node v7.2.0
Protractor 5.0.0
webdriver-manager 11.1.1
Run Code Online (Sandbox Code Playgroud)

当我跑步时,webdriver-manger update --standalone我得到以下错误

[17:25:21] I/file_manager - creating folder C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium
[17:25:22] E/downloader - undefined
[17:25:22] I/update - chromedriver: file exists C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\chromedriver_2.26win32.zip
[17:25:22] I/update - chromedriver: unzipping chromedriver_2.26win32.zip
**(node:14972) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Invalid filename
(node:14972) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[17:25:22] E/downloader - undefined
[17:25:22] I/update - …
Run Code Online (Sandbox Code Playgroud)

selenium node.js protractor webdriver-manager

8
推荐指数
1
解决办法
4516
查看次数

标签 统计

node.js ×1

protractor ×1

selenium ×1

webdriver-manager ×1