Skip to content

[🐛 Bug]: [rust] Selenium Manager doesn't use Browser mirror URLs when set as environment variables #16092

@cgoldberg

Description

@cgoldberg

Description

According to the docs at https://www.selenium.dev/documentation/selenium_manager/
... you can set environment variables to change the "Browser mirror" or "Driver mirror" URLs.

This seems to work correctly for Driver mirrors. I can set SE_DRIVER_MIRROR_URL=https://msedgedriver.microsoft.coml or SE_MSEDGEDRIVER_MIRROR_URL=https://msedgedriver.microsoft.com and it will retrieve the drivers from that URL instead of the default.

However, setting an environment variable for Browser mirrors has no effect. If I set the following environment variable, it will still download Edge from the default location instead of throwing an error:

SE_MSEDGEDRIVER_MIRROR_URL=https://bad_domain

Note: I haven't checked if it correctly uses the command line args for setting browser mirrors

Reproducible Code

$ export SE_MSEDGEDRIVER_MIRROR_URL=https://bad_domain
... run a program that launches Edge and uses Selenium Manager

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions