Skip to content
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

"E/downloader - undefined" if you use a non-existent version of the browser. #393

Open
bmsdave opened this issue Jun 7, 2019 · 3 comments

Comments

@bmsdave
Copy link
Contributor

bmsdave commented Jun 7, 2019

Hi!

I'm just wondering.
I run:

> webdriver-manager update --versions.chrome=74

[11:59:11] E/downloader - undefined
[11:59:11] I/update - chromedriver: file exists /home/bmsdave/projects/openway/jsengine/node_modules/webdriver-manager/selenium/chromedriver_74.zip
[11:59:11] I/update - chromedriver: unzipping chromedriver_74.zip
(node:15003) UnhandledPromiseRejectionWarning: Invalid filename
(node:15003) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:15003) [DEP0018] 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.
[11:59:11] I/update - selenium standalone: file exists /home/bmsdave/projects/openway/jsengine/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar
[11:59:11] I/update - selenium standalone: selenium-server-standalone-3.141.59.jar up to date
[11:59:12] I/update - geckodriver: file exists /home/bmsdave/projects/openway/jsengine/node_modules/webdriver-manager/selenium/geckodriver-v0.24.0.tar.gz
[11:59:12] I/update - geckodriver: unzipping geckodriver-v0.24.0.tar.gz
[11:59:12] I/update - geckodriver: setting permissions to 0755 for /home/bmsdave/projects/openway/jsengine/node_modules/webdriver-manager/selenium/geckodriver-v0.24.0
[11:59:12] I/update - geckodriver: geckodriver-v0.24.0 up to date

And I can not understand where the error E/downloader - undefined comes from.
Tell me what does this mean?

bmsdave added a commit to bmsdave/webdriver-manager that referenced this issue Jun 7, 2019
@bmsdave bmsdave changed the title what "E/downloader - undefined" is mean? "E/downloader - undefined" if you use a non-existent version of the browser. Jun 7, 2019
@bmsdave
Copy link
Contributor Author

bmsdave commented Jun 7, 2019

I understand why this is happening.
I write a non-existing version of chromeDriver ("74" instead of "74.0.3729.6").
Unfortunately, webdriver-manager shows very unclear where the error is.

I create pull request: bmsdave@c6d5de8

Watch it please. Have I done everything right?

@cnishina
Copy link
Member

This is a good point where at least in Chrome it makes sense to look up by major version. I imagine there will be a world where I make the request webdriver-manager update --versions.chromedriver=74 --versions.chromium=74 and it will download chromedriver and chromium 74.x.x

Improvements should go against the master branch since we are trying to get off of the legacy branch.

@yuezk
Copy link

yuezk commented Mar 25, 2020

I ran into the same issue, upgrading to 12.1.7 resolved it. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants