Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

--alternate_cdn has no effekt when downloading gecko driver #294

Closed

Description

It seems like the L29 overrides -alternate_cdn command line option

https://github.com/angular/webdriver-manager/blob/master/lib/binaries/gecko_driver.ts#L28
https://github.com/angular/webdriver-manager/blob/master/lib/binaries/gecko_driver.ts#L29

My usecase is to download geckodriver from internal server, not from github directly.

webdriver-manager update --alternate_cdn=XXXXXX

Activity

  1. elgohr commented on Jan 6, 2018

    @elgohr

    +1 but seems to be a duplicate of #96

  2. cnishina commented on Mar 8, 2018

    @cnishina
    Contributor

    Agree that this is a duplicated closed issue. I plan to close it; however, I have some questions about this. Maybe we can find a feature here.

    Why this is difficult to solve based on cdn setup.

    • If you are using an alternative cdn, you could just wget the version or curl to download?
    • If you need to use the geckodriver path in Protractor for direct connect or a local driver start, you could pass the binary paths in the Protractor configuration / via command line.

    Currently your cdn would have to match the xml for ChromeDriver or selenium server or json responses from GitHub. Webdriver-manager could then parse this file and you could then download the right file. This means your cdn would have to exactly mirror either the google storage or github.

    Questions here:

    Are you hoping to bypass the webdriver-manager to download from an alternative cdn? How will it get the correct path? How would you like it to work? Will you provide the xml file for ChromeDriver?

  3. cnishina commented on Mar 8, 2018

    @cnishina
    Contributor

    Tagging this issue: #300

    ^^^ Maybe a neat solution that we need to implement?

  4. cnishina commented on Mar 8, 2018

    @cnishina
    Contributor

    Let's track it in the other issue. Closing.

  5. stieler-it commented on Apr 5, 2018

    @stieler-it

    @cnishina Can you please verify if this is actually a duplicate of #96? It appears #96 has already been fixed in 2016 but we are also experiencing this problem now. Without further investigation it looks like variable names have been refactored and now do not match any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions