-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to run project using npm run e2e command on VM with no internet connectivity #306
Comments
When you do |
It would be great if there would be a way to tell webdriver-manager to just use what is already present instead of updating to the latest versions. |
So we do check the age of the cached file. I think what it is doing is making a HEAD call to see the size of the file and comparing it against the download. If the cache is recent, we could maybe assume that we do not need to make the web call. We could then check to see if the jar, tar, or zip file exists. If it is a compressed file, we could check to see if there is an uncompressed file. If a file is missing, we would then start the download and uncompress the file. If the files are not completed during a previous update, hopefully there is a reasonable error. Maybe this should be logged in debug that we are usiing files that already exist and will not download them. |
Not sure if that made sense. I think this is just an additional check we need to do. If your cache is too old, it will then make a call externally. I could provide an override for it; however, I'm not sure how many users will need this feature. I am leaning against overriding this specific functionality. |
Okay we had a discussion about it and being online is a prereq to calling |
I am trying to execute command webdriver-manager update and I am getting below mention error.
I am on VM where internet connectivity is not available.
events.js:160
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND selenium-release.storage.googleapis.com selenium-release.storage.googleapis.com:443
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
When I run my project in protractor using npm run e2e I am getting below error
events.js:160
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND chromedriver.storage.googleapis.com chromedriver.storage.googleapis.com:443
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
I am trying to execute command webdriver-manager update and I am getting below mention error.
I am on VM where internet connectivity is not available.
events.js:160
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND selenium-release.storage.googleapis.com selenium-release.storage.googleapis.com:443
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
When I run my project in protractor using npm run e2e I am getting below error
events.js:160
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND chromedriver.storage.googleapis.com chromedriver.storage.googleapis.com:443
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
The text was updated successfully, but these errors were encountered: