From ca7408d1f4f6a55b6b5d313180618be7f4cbc4ad Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sun, 14 Dec 2025 17:18:49 -0300 Subject: [PATCH] fix: use snap chromium actual binary path --- tests/e2e/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/e2e/mod.rs b/tests/e2e/mod.rs index 4541296..02c04f4 100644 --- a/tests/e2e/mod.rs +++ b/tests/e2e/mod.rs @@ -159,12 +159,12 @@ pub fn browser_config() -> BrowserConfig { // Detect browser binary - prioritize Chromium which works best with system chromedriver // Brave nightly has compatibility issues with chromedriver + // For snap chromium, we need the actual binary, not the wrapper let browser_paths = [ - "/usr/bin/chromium-browser", // Chromium - best compatibility - "/snap/bin/chromium", // Snap Chromium - "/usr/bin/google-chrome", // Google Chrome - "/usr/bin/google-chrome-stable", // Chrome stable - "/opt/brave.com/brave/brave", // Brave stable (may have issues) + "/snap/chromium/current/usr/lib/chromium-browser/chrome", // Snap Chromium actual binary + "/usr/bin/google-chrome", // Google Chrome + "/usr/bin/google-chrome-stable", // Chrome stable + "/opt/brave.com/brave/brave", // Brave stable (may have issues) ]; let mut config = BrowserConfig::default()