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
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
WARNin Selenium Manager about it (something similar to mention, e.g., "you have an old version of ... etc."). ThatWARNtrace should also be parsed in the bindings and logged to the final user again.Usage example