From 8c3a3fb4c12932c0d3f360e89271f772673f9702 Mon Sep 17 00:00:00 2001 From: Manel Guechetouli Date: Thu, 5 Feb 2026 15:59:10 -0500 Subject: [PATCH] [FIX] in selenium_lib firefox snap path --- script/selenium/selenium_lib.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/selenium/selenium_lib.py b/script/selenium/selenium_lib.py index 9bb41fd..344c32d 100644 --- a/script/selenium/selenium_lib.py +++ b/script/selenium/selenium_lib.py @@ -228,7 +228,9 @@ class SeleniumLib(object): ) elif not self.config.use_network: # test snap firefox for Ubuntu first - snap_firefox_path = "/snap/bin/firefox" + snap_firefox_path = ( + "/snap/firefox/current/usr/lib/firefox/firefox" + ) firefox_path_exist = Path(snap_firefox_path).exists() if firefox_path_exist: firefox_options.binary_location = snap_firefox_path