We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dce489a commit 21e47adCopy full SHA for 21e47ad
seleniumbase/core/browser_launcher.py
@@ -689,15 +689,10 @@ def get_local_driver(
689
print("\nWarning: Could not install geckodriver: "
690
"%s" % e)
691
sys.argv = sys_args # Put back the original sys args
692
- if "linux" in PLATFORM or not headless:
693
- firefox_driver = webdriver.Firefox(
694
- firefox_profile=profile,
695
- capabilities=firefox_capabilities)
696
- else:
697
698
699
- capabilities=firefox_capabilities,
700
- options=options)
+ firefox_driver = webdriver.Firefox(
+ firefox_profile=profile,
+ capabilities=firefox_capabilities,
+ options=options)
701
except Exception:
702
profile = _create_firefox_profile(
703
downloads_path, locale_code,
0 commit comments