fix: use snap chromium actual binary path
This commit is contained in:
parent
cf720936d2
commit
ca7408d1f4
1 changed files with 5 additions and 5 deletions
|
|
@ -159,9 +159,9 @@ pub fn browser_config() -> BrowserConfig {
|
||||||
|
|
||||||
// Detect browser binary - prioritize Chromium which works best with system chromedriver
|
// Detect browser binary - prioritize Chromium which works best with system chromedriver
|
||||||
// Brave nightly has compatibility issues with chromedriver
|
// Brave nightly has compatibility issues with chromedriver
|
||||||
|
// For snap chromium, we need the actual binary, not the wrapper
|
||||||
let browser_paths = [
|
let browser_paths = [
|
||||||
"/usr/bin/chromium-browser", // Chromium - best compatibility
|
"/snap/chromium/current/usr/lib/chromium-browser/chrome", // Snap Chromium actual binary
|
||||||
"/snap/bin/chromium", // Snap Chromium
|
|
||||||
"/usr/bin/google-chrome", // Google Chrome
|
"/usr/bin/google-chrome", // Google Chrome
|
||||||
"/usr/bin/google-chrome-stable", // Chrome stable
|
"/usr/bin/google-chrome-stable", // Chrome stable
|
||||||
"/opt/brave.com/brave/brave", // Brave stable (may have issues)
|
"/opt/brave.com/brave/brave", // Brave stable (may have issues)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue