question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use other webdriver's cdn url config ?

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Reactions:10
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
CSchulzcommented, Oct 2, 2018

Another reason why to use own cdn mirrors is a restrictive corporate proxy setup.

1reaction
pezetkocommented, Nov 7, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found