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

Support chromedriver-nw on Windows #15

Open
pose opened this issue Jul 20, 2015 · 6 comments
Open

Support chromedriver-nw on Windows #15

pose opened this issue Jul 20, 2015 · 6 comments

Comments

@pose
Copy link
Owner

pose commented Jul 20, 2015

Related to #14

@paulbjensen
Copy link

It looks like the zip file is not being unzipped after the webdriver update call, currently has to be done manually.

@pose
Copy link
Owner Author

pose commented Jul 4, 2016

Hi @paulbjensen, can you tell me which version are you using? Thanks!

@paulbjensen
Copy link

Hi, I tried 7.0.1, but I will try 9.0.0 to see if it's fixed further up.

@pose
Copy link
Owner Author

pose commented Jul 5, 2016

@paulbjensen Great, thanks!

@paulbjensen
Copy link

HI,

I checked it at 9.0.0, issue still occurs:

PS C:\Users\paulb_000\Documents\GitHub\cross-platform-desktop-applications\chapter-09\lorikeet-nwjs> node_modules/.bin/webdriver-manager update --chromedriver-nw true
Updating selenium standalone
downloading http://selenium-release.storage.googleapis.com/2.52/selenium-server-standalone-2.52.0.jar...
Updating chromedriver (for nwjs)
downloading http://dl.nwjs.io/v0.12.2/chromedriver-nw-v0.13.0-win-x64.zip...
Updating chromedriver
downloading http://chromedriver.storage.googleapis.com/2.21/chromedriver_win32.zip...
Error: Got code 404 from http://dl.nwjs.io/v0.12.2/chromedriver-nw-v0.13.0-win-x64.zip
chromedriver-nw-v0.13.0-win-x64.zip downloaded to C:\Users\paulb_000\Documents\GitHub\cross-platform-desktop-applications\chapter-09\lorikeet-nwjs\node_modules\webdriver-manager\selenium\chromedriver-nw-v0.13.0-win-x64.zip

C:\Users\paulb_000\Documents\GitHub\cross-platform-desktop-applications\chapter-09\lorikeet-nwjs\node_modules\webdriver-manager\node_modules\adm-zip\adm-zip.js:19
           throw Utils.Errors.INVALID_FILENAME;
           ^
Invalid filename

I downloaded the latest webdriver-manager (10.0.2) and that worked fine, but the npm module automatically executes the CLI when loading the module programmatically, hence the desire to use a version pre CLI change.

@pose
Copy link
Owner Author

pose commented Jul 17, 2016

@paulbjensen I can confirm the issue for versions < 9.x but I'll need to research the issue.

About the 10.0.2 module behavior, @cnishina do you know if the npm module executing the CLI is the expected behavior? I've taken a look at the issues and I could not find this reported.

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

No branches or pull requests

2 participants