Webdriver Management Update Error

I am new to using a protractor. Trying to install standalone webdriver-manager , but getting the following error.

 Node v7.2.0 Protractor 5.0.0 webdriver-manager 11.1.1 

when I run webdriver-manger update --standalone , I get the following error

 [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 
+6
source share
4 answers

I had the same problem. A missing proxy configuration caused this non-sensitive output.

The following command worked:

 webdriver-manager update --proxy "http://<user>:<pw>@webproxy.<company>.com:8080/" 
+1
source

I encountered the same problem on a secure network:

Update webdriver-manager --proxy http://127.0.0.1:8888/

worked for me and I was able to successfully update web drivers.

+1
source

I had a problem installing java. I installed the latest java update, opened a new shell, and the problem was resolved :)

0
source

This worked for me: update webdriver-manager --ignore_ssl

0
source

Source: https://habr.com/ru/post/1262659/


All Articles