From ec9c6a2ed93b03e25511f3db9a0543ae7a760924 Mon Sep 17 00:00:00 2001 From: Chris Tate Date: Thu, 12 Feb 2026 13:28:25 -0600 Subject: [PATCH] fix: pass --executable-path to launch command in CLI (#424) --- cli/src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cli/src/main.rs b/cli/src/main.rs index 01b1879..eb3d301 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -415,6 +415,7 @@ fn main() { // Launch headed browser or configure browser options (without CDP or provider) if (flags.headed + || flags.executable_path.is_some() || flags.profile.is_some() || flags.state.is_some() || flags.proxy.is_some() @@ -434,6 +435,11 @@ fn main() { .as_object_mut() .expect("json! macro guarantees object type"); + // Add executable path if specified + if let Some(ref exec_path) = flags.executable_path { + cmd_obj.insert("executablePath".to_string(), json!(exec_path)); + } + // Add profile path if specified if let Some(ref profile_path) = flags.profile { cmd_obj.insert("profile".to_string(), json!(profile_path));