-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Unhandled 'error' event on webdriver-manager update #3382
Comments
This means that your jar file was not properly downloaded. This is an odd error since webdriver-manager checks to see if the jar size and content-length from the header match. If it does not match, it should unlink the file from the file system. When you run The best way to resolve this is to remove the jar file and do an update again:
|
It seems to still encounter the same error after cleaning. Are there log files created or are you just talking about the console output? I copied everything that came from the command line. It never mentioned I could start it, but I just wrote what happened when I did try to run the start command. With proxy
Without proxy
The chrome driver and ie32 driver seem to be downloading properly, but the standalone is still giving the error. |
It appears that your file is not being properly downloaded due to a request timeout. You could just try to manually download the files yourself. You have the links to the file listed in the curl commands and |
node -v 6.3.0 I was using grunt-protractor (not supporting protractor 4 right now (teerapap/grunt-protractor-runner#165), so I didn't catch it immediately but when I use |
Hi there, I believe I'm seeing this issue too. See command prompt output below. C:\Users\bxb145\workspace\Sample\node_modules\protractor\bin>node webdriver-mana Of course I can manually download the packages & place them in the appropriate directory, however I believe the update command sets the run time environment for protractor. For example when I execute 18:15:48.768 INFO - Driver provider com.opera.core.systems.OperaDriver is not re which is probably related to this error message I see when running via protractor path.js:8 how do I set the run time away from safari etc so that I can use protractor? Thanks in advance as to any help anyone provides. btw |
Sounds like it could be a proxy issue. Set the configuration for webdriver-manager: --ignore_ssl or set PROXY=http://username:password@proxyserver:port set HTTP_PROXY worked for me from http://stackoverflow.com/questions/28051260/how-to-set-https-proxy-for-seleniums-webdriver |
I was able to update the webdriver when used the ignore ssl flag and yet I can't run the e2e I'm running on windows node version 9.2.1 still getting any ideas? |
Try this, webdriver-manager update --proxy="http://username:pass@yourproxyserver:port/" --ignore_ssl worked for me with this command. |
@LironHazan I have just used your command without the --ie32 and worked for me :) |
I posted this same issue in the webdriver GitHub, but since the error code is giving Protractor in the path I thought I would put it here as well. I apologize if this is not the right place.
I am trying to upgrade to Protractor 4 and I encountered some errors when updating webdriver-manager. If it matters, I am behind a corporate proxy, but the proxy option has worked fine for webdriver-manager before the Protractor 4 release. And it appears to have worked correctly for updating the chrome and ie32 drivers.
'protractor --version' gives Version 4.0.0.
'webdriver-manager update ' gives the following error with or without the proxy option:
This error is sometimes preceded by the following, but only always.
The following error occurs when running 'webdriver-manager start' with or without the proxy option.
The text was updated successfully, but these errors were encountered: