In cmd
set PROXY=http://username: password@proxyserver :port set HTTP_PROXY=%PROXY% set HTTPS_PROXY=%PROXY% webdriver-manager update
Or go to the .npmrc file, as a rule, here: C: \ Users \ username.npmrc (if you do not search for it using the npm config ls -l | grep config ) and set the proxy variables manually by entering it
proxy=http://username: password@proxyserver :port https-proxy=http://username: password@proxyserver :port
The third way is to make two system environment variables HTTP_PROXY and HTTPS_PROXY with the value http://username: password@proxyserver :port
Cassian
source share