You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rust/src/lib.rs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -358,17 +358,19 @@ pub trait SeleniumManager {
358
358
// If proper driver version is not the same as the driver in path, display warning
359
359
if !self.get_driver_version().is_empty() && !version.eq(self.get_driver_version()){
360
360
self.get_logger().warn(format!(
361
-
"Incompatible release of {} (version {}) detected in PATH: {}",
361
+
"The {} version ({}) detected in PATH at {} might not be compatible with the detected {} version ({}); it is recommended to delete the driver and retry",
362
362
self.get_driver_name(),
363
363
version,
364
-
path
364
+
path,
365
+
self.get_browser_name(),
366
+
self.get_browser_version()
365
367
));
366
368
}
367
369
self.set_driver_version(version.to_string());
368
370
returnOk(PathBuf::from(path));
369
371
}
370
372
371
-
// If driver was not in the PATH, try to find it the cache
373
+
// If driver was not in the PATH, try to find it in the cache
372
374
let driver_path = self.get_driver_path_in_cache();
0 commit comments