Skip to content

[🚀 Feature]: Exclude specific drivers from the selenium manager #11636

@joerg1985

Description

@joerg1985

Feature and motivation

Allow specific drivers to be excluded from the download by the selenium-manager.
e.g. set the system property to a protected value to disable the download
System.setProperty("webdriver.ie.driver", "n/a");

Usage example

I am running the standalone server in a offline environment and only the drivers needed are installed and set by system properties.

At the startup of the standalone server the selenium manager will try to download e.g. the internet explorer driver.
The startup is blocked until the connection timeout is reached and a warning is logged.

10:12:22.669 WARN [DriverService.findExecutable] - Unable to obtain driver using Selenium Manager: Unsuccessful command executed: [C:\Users\my-user\AppData\Local\Temp\selenium-manager78222028412008605999502358382989\selenium-manager.exe, --driver, IEDriverServer]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-enhancementSomething could be better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions