[FIX] in selenium_lib firefox snap path
This commit is contained in:
parent
273763a4fb
commit
8c3a3fb4c1
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue