We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d2cc6 commit d1abe67Copy full SHA for d1abe67
1 file changed
rust/src/files.rs
@@ -37,6 +37,7 @@ const CACHE_FOLDER: &str = ".cache/selenium";
37
const ZIP: &str = "zip";
38
const GZ: &str = "gz";
39
const XML: &str = "xml";
40
+const HTML: &str = "html";
41
42
#[derive(Hash, Eq, PartialEq, Debug)]
43
pub struct BrowserPath {
@@ -77,7 +78,7 @@ pub fn uncompress(
77
78
unzip(file, target, log)?
79
} else if extension.eq_ignore_ascii_case(GZ) {
80
untargz(file, target, log)?
- } else if extension.eq_ignore_ascii_case(XML) {
81
+ } else if extension.eq_ignore_ascii_case(XML) || extension.eq_ignore_ascii_case(HTML) {
82
log.debug(format!(
83
"Wrong downloaded driver: {}",
84
fs::read_to_string(compressed_file).unwrap_or_default()
0 commit comments