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
// If proper driver version is not the same as the driver in path, display warning
359
+
if !self.get_driver_version().is_empty() && !version.eq(self.get_driver_version()){
360
+
self.get_logger().warn(format!(
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
+
self.get_driver_name(),
363
+
version,
364
+
path,
365
+
self.get_browser_name(),
366
+
self.get_browser_version()
367
+
));
368
+
}
369
+
self.set_driver_version(version.to_string());
370
+
returnOk(PathBuf::from(path));
371
+
}
372
+
373
+
// If driver was not in the PATH, try to find it in the cache
341
374
let driver_path = self.get_driver_path_in_cache();
0 commit comments