Skip to content

Commit

Permalink
[rust] Revert condition checking driver version
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Oct 3, 2023
1 parent 5863063 commit 74ee9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ pub trait SeleniumManager {
}

// Discover proper driver version
if driver_in_path_version.is_none() && self.get_driver_version().is_empty() {
if self.get_driver_version().is_empty() {
match self.discover_driver_version() {
Ok(driver_version) => {
self.set_driver_version(driver_version);
Expand Down

0 comments on commit 74ee9e8

Please sign in to comment.