Skip to content

Commit 6df4000

Browse files
authored
Merge pull request #768 from seleniumbase/update-firefox-options
Update Firefox options to effect all environments
2 parents dce489a + 3ca8d1c commit 6df4000

File tree

6 files changed

+10
-15
lines changed

6 files changed

+10
-15
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Michael Mintz
3+
Copyright (c) 2014-2021 Michael Mintz
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
regex>=2020.11.13
2-
tqdm>=4.55.0
2+
tqdm>=4.55.1
33
livereload==2.6.3;python_version>="3.6"
44
Markdown==3.3.3
55
readme-renderer==28.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ cffi==1.14.4
7373
toml==0.10.2
7474
Pillow==6.2.2;python_version<"3.5"
7575
Pillow==7.2.0;python_version>="3.5" and python_version<"3.6"
76-
Pillow==8.0.1;python_version>="3.6"
76+
Pillow==8.1.0;python_version>="3.6"
7777
rich==9.6.1;python_version>="3.6" and python_version<"4.0"
7878
zipp==1.2.0;python_version<"3.6"
7979
zipp==3.4.0;python_version>="3.6"

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.51.7"
2+
__version__ = "1.51.8"

seleniumbase/core/browser_launcher.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -689,15 +689,10 @@ def get_local_driver(
689689
print("\nWarning: Could not install geckodriver: "
690690
"%s" % e)
691691
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-
firefox_driver = webdriver.Firefox(
698-
firefox_profile=profile,
699-
capabilities=firefox_capabilities,
700-
options=options)
692+
firefox_driver = webdriver.Firefox(
693+
firefox_profile=profile,
694+
capabilities=firefox_capabilities,
695+
options=options)
701696
except Exception:
702697
profile = _create_firefox_profile(
703698
downloads_path, locale_code,

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
print("\n*** Installing twine: *** (Required for PyPI uploads)\n")
5050
os.system("python -m pip install --upgrade 'twine>=1.15.0'")
5151
print("\n*** Installing tqdm: *** (Required for PyPI uploads)\n")
52-
os.system("python -m pip install --upgrade 'tqdm>=4.55.0'")
52+
os.system("python -m pip install --upgrade 'tqdm>=4.55.1'")
5353
print("\n*** Publishing The Release to PyPI: ***\n")
5454
os.system('python -m twine upload dist/*') # Requires ~/.pypirc Keys
5555
print("\n*** The Release was PUBLISHED SUCCESSFULLY to PyPI! :) ***\n")
@@ -177,7 +177,7 @@
177177
'toml==0.10.2',
178178
'Pillow==6.2.2;python_version<"3.5"',
179179
'Pillow==7.2.0;python_version>="3.5" and python_version<"3.6"',
180-
'Pillow==8.0.1;python_version>="3.6"',
180+
'Pillow==8.1.0;python_version>="3.6"',
181181
'rich==9.6.1;python_version>="3.6" and python_version<"4.0"',
182182
'zipp==1.2.0;python_version<"3.6"',
183183
'zipp==3.4.0;python_version>="3.6"',

0 commit comments

Comments
 (0)