-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(update): on update, write full binary paths to file (#140)
- Adding back in curl calls, these were removed on the new `Downloader.getFile`. Add curl call to reflect proxies. - Fix output dir to read from update's options instead of Config - Feature will help directConnect users for Protractor. The file will keep track of the last binary version as well as all other binaries downloaded. The file will be created in the output directory. By default this is `selenium/update-config.json`. On `clean` this file will be removed. ``` webdriver-manager update --versions.chrome=2.20 --standalone=false --gecko=false ``` file created: ``` { "chrome": { "last": "/opt/src/webdriver-manager/selenium/chromedriver_2.20", "all": ["/opt/src/webdriver-manager/selenium/chromedriver_2.20"] } } ``` then the user wants to use 2.25: ``` webdriver-manager update --versions.chrome=2.25 --standalone=false --gecko=false ``` file created: ``` { "chrome": { "last": "/opt/src/webdriver-manager/selenium/chromedriver_2.25", "all": ["/opt/src/webdriver-manager/selenium/chromedriver_2.20", "/opt/src/webdriver-manager/selenium/chromedriver_2.25"] } } ```
- Loading branch information
Showing
10 changed files
with
242 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
built/ | ||
node_modules/ | ||
selenium/ | ||
selenium_test/ | ||
typings/ | ||
.idea/ | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.