From cbcc6b3060098ec1e8973e4af1733ae6ce9e98ab Mon Sep 17 00:00:00 2001 From: Boni Garcia Date: Fri, 21 Apr 2023 12:20:26 +0200 Subject: [PATCH] [rust] Fix command to discover msedgedriver version using LOCALAPPDATA env --- rust/src/edge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/edge.rs b/rust/src/edge.rs index 8e7f14054a695..d91c618af2d06 100644 --- a/rust/src/edge.rs +++ b/rust/src/edge.rs @@ -138,7 +138,7 @@ impl SeleniumManager for EdgeManager { REMOVE_X86, browser_path, ), - format_three_args(WMIC_COMMAND, ENV_LOCALAPPDATA, "", browser_path), + format_three_args(WMIC_COMMAND_ENV, ENV_LOCALAPPDATA, "", browser_path), ]; if !self.is_browser_version_unstable() { commands.push(format_one_arg(