Closed twolfson closed 9 years ago
However, upon further review. We seem to be downloading Selenium standalone and the standard Chromedriver when we only want to download 1 of them. I am going to look into that.
Ah, I was throwing myself off with the defaults. The following installs how I want it to (skips default Chrome install)
$ bin/webdriver-manager update --standalone true --chrome false --chromedriver-nw true
Updating selenium standalone
downloading http://selenium-release.storage.googleapis.com/2.46/selenium-server-standalone-2.46.0.jar...
Updating chromedriver (for nwjs)
downloading http://dl.nwjs.io/v0.12.2/chromedriver-nw-v0.12.2-linux-x64.tar.gz...
selenium-server-standalone-2.46.0.jar downloaded to /home/todd/github/webdriver-manager/selenium/selenium-server-standalone-2.46.0.jar
chromedriver-nw-v0.12.2-linux-x64.tar.gz downloaded to /home/todd/github/webdriver-manager/selenium/chromedriver-nw-v0.12.2-linux-x64.tar.gz
The following files were installed: /home/todd/github/webdriver-manager/selenium/selenium-server-standalone-2.46.0.jar /home/todd/github/webdriver-manager/selenium/chromedriver
Found another regression; running the script with our --chrome false
was causing chromedriver-nw
detection to fail. We patched that up with another fallback.
@twolfson Thanks for these fixes. Also, I plan to address that it might not be working on Windows (I don't think I'm handling the .exe case right).
@twolfson Merged, will create a separte issue for Windows and chromedriver-nw. Check 7.0.1 to get the latest update. Thanks!
Wonderful, thanks for landing this so quickly =) If you are interested in seeing it in action, the PR is:
@twolfson That's awesome. I was not aware of that project. Keep me posted for anything else you need from upstream.
As mentioned in #13, when we tried to use the new
--chromedriver-nw
option, we saw that it was downloading the defaults (e.g. Selenium standalone and normal Chromedriver). Upon debugging, we found that we were filtering out--chromedriver-nw
as an unrecognized option.In this PR:
--chromedriver-nw
as acceptable CLI installablechromedriver-nw
as binary to add-D
forchromedriver
New successful log message: