Skip to content

[🚀 Feature]: Process PATH by Selenium Manager #11373

@bonigarcia

Description

@bonigarcia

Feature and motivation

Selenium Manager can discover if a driver is in the path and if the version is suitable to drive the browser. If the driver is not compatible (typically, since it is an old version), Selenium Manager should fix the problem (i.e., resolve the proper driver and ignore the driver in the PATH).

We can also log a WARN in Selenium Manager about it (something similar to mention, e.g., "you have an old version of ... etc."). That WARN trace should also be parsed in the bindings and logged to the final user again.

Usage example

$ cargo run -- --browser chrome
WARN    Incompatible release of chromedriver (version 104.0.5112.79) detected in PATH (/home/boni/drivers/chromedriver)
INFO    /home/boni/.cache/selenium/chromedriver/linux64/106.0.5249.61/chromedriver

Metadata

Metadata

Assignees

Labels

C-rustRust code is mostly Selenium ManagerI-enhancementSomething could be better

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions