Skip to content

Commit 04235ab

Browse files
authored
Merge pull request #978 from seleniumbase/change-headless-firefox-on-linux
Change how headless Firefox runs on Linux
2 parents 03b8fba + f4383d1 commit 04235ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "1.65.0"
2+
__version__ = "1.65.1"

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def _set_firefox_options(
519519
options.set_preference(
520520
"browser.download.manager.showAlertOnComplete", False
521521
)
522-
if headless:
522+
if headless and "linux" not in PLATFORM:
523523
options.add_argument("--headless")
524524
if locale_code:
525525
options.set_preference("intl.accept_languages", locale_code)

0 commit comments

Comments
 (0)