Skip to content

Commit e4afc39

Browse files
committed
Don't let Firefox update itself in the middle of a test run
1 parent a7bf236 commit e4afc39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ def _create_firefox_profile(downloads_path, proxy_string):
7777
profile = webdriver.FirefoxProfile()
7878
profile.set_preference("reader.parse-on-load.enabled", False)
7979
profile.set_preference("pdfjs.disabled", True)
80+
profile.set_preference("app.update.auto", False)
81+
profile.set_preference("app.update.enabled", False)
8082
if proxy_string:
8183
proxy_server = proxy_string.split(':')[0]
8284
proxy_port = proxy_string.split(':')[1]

0 commit comments

Comments
 (0)