Use other webdriver's cdn url config ?
See original GitHub issueI want to use webdriver-manager update
for updating all drivers, so --alternate_cdn
is not enough. Maybe we can reuse other webdrivers’ cdn url?
For example, chromedriver
use chromedriver_cdnurl
, see: https://www.npmjs.com/package/chromedriver#custom-binaries-url
And here is some other driver cdn url config:
npm set chromedriver_cdnurl http://cdn.npm.taobao.org/dist/chromedriver
npm set operadriver_cdnurl http://cdn.npm.taobao.org/dist/operadriver
npm set phantomjs_cdnurl http://cdn.npm.taobao.org/dist/phantomjs
npm set geckodriver_cdnurl https://github.com/mozilla/geckodriver/releases/download
Could you please reuse these config?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:16 (4 by maintainers)
Top Results From Across the Web
Set alternative CDN for ChromeDriver binaries on @angular/cli
Option 1) modify the cdnurl in node_modules/protractor/node_modules/webdriver-manager/config.json
Read more >Getting Started with WebDriver C# in 10 Minutes
Short tutorial how to start using one of the world best web automation frameworks - WebDriver. Exact steps to follow through code in...
Read more >Testing with WebDriver - CodeceptJS
Configuring CI. To develop tests it's fine to use local Selenium Server and window mode. Setting up WebDriver on remote CI (Continous ...
Read more >IntelliJ IDEA: Selenium WebDriver automated web tests with ...
We are creating a new ChromeDriver instance to use in multiple methods; We are setting up the chromedriver property to set up the...
Read more >How To Launch Firefox in Selenium using GeckoDriver
Now we have to use webdriver.gecko.driver for Firefox as well ... Download URL – https://github.com/mozilla/geckodriver/releases.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Another reason why to use own cdn mirrors is a restrictive corporate proxy setup.
Would it be possible to set alternate_cdn (or possibly set of other variables specific to each CDN) via .npmrc or some environment variable? I’m asking because we’re behind corporate proxy and webdriver-manager is downloaded as protractor dependency, which is downloaded by another 3rd party code that we do not have a possibility to modify / override, so it gets very frustrating to tell webdriver-manager to use our own CDN sources rather then the public ones. I think if you would be able to define overriding variables for base CDN URLs via .npmrc, that would be amazing.