gpt4 book ai didi

node.js - Webdriver-管理更新错误

转载 作者:搜寻专家 更新时间:2023-10-31 22:20:23 26 4
gpt4 key购买 nike

我刚开始使用 Protractor 。尝试安装独立的 webdriver-manager 但出现以下错误。

Node v7.2.0
Protractor 5.0.0
webdriver-manager 11.1.1

当我运行 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 - selenium standalone: file exists** C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-2.53.1.jar
[17:25:22] I/update - selenium standalone: 2.53.1 up to date
[17:25:24] E/downloader - undefined
[17:25:24] I/update - geckodriver: file exists C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\geckodriver-v0.12.0-win64.zip
[17:25:24] I/update - geckodriver: unzipping geckodriver-v0.12.0-win64.zip

最佳答案

这对我有用:

webdriver-manager --ignore_ssl update

关于node.js - Webdriver-管理更新错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41601882/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com