Skip to content

Commit c0935f5

Browse files
authored
Merge pull request #2604 from seleniumbase/fix-browser-detection-on-windows
Fix browser-version-detection on Windows
2 parents 668d646 + d0263cf commit c0935f5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ rich==13.7.1
7171

7272
coverage==6.2;python_version<"3.7"
7373
coverage==7.2.7;python_version>="3.7" and python_version<"3.8"
74-
coverage==7.4.3;python_version>="3.8"
74+
coverage==7.4.4;python_version>="3.8"
7575
pytest-cov==4.0.0;python_version<"3.7"
7676
pytest-cov==4.1.0;python_version>="3.7"
7777
flake8==5.0.4;python_version<"3.9"

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__ = "4.24.6"
2+
__version__ = "4.24.7"

seleniumbase/core/detect_b_ver.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def linux_browser_apps_to_cmd(*apps):
9797

9898

9999
def chrome_on_linux_path(prefer_chromium=False):
100-
if os_name() != "linux":
100+
if os_name() != OSType.LINUX:
101101
return ""
102102
if prefer_chromium:
103103
paths = ["/bin/chromium", "/bin/chromium-browser"]
@@ -127,7 +127,7 @@ def chrome_on_linux_path(prefer_chromium=False):
127127

128128

129129
def edge_on_linux_path():
130-
if os_name() != "linux":
130+
if os_name() != OSType.LINUX:
131131
return ""
132132
paths = os.environ["PATH"].split(os.pathsep)
133133
binaries = []
@@ -144,7 +144,7 @@ def edge_on_linux_path():
144144

145145

146146
def chrome_on_windows_path():
147-
if os_name() != "win32":
147+
if os_name() != OSType.WIN:
148148
return ""
149149
candidates = []
150150
for item in map(
@@ -172,7 +172,7 @@ def chrome_on_windows_path():
172172

173173

174174
def edge_on_windows_path():
175-
if os_name() != "win32":
175+
if os_name() != OSType.WIN:
176176
return ""
177177
candidates = []
178178
for item in map(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
# Usage: coverage run -m pytest; coverage html; coverage report
228228
"coverage": [
229229
'coverage==7.2.7;python_version<"3.8"',
230-
'coverage==7.4.3;python_version>="3.8"',
230+
'coverage==7.4.4;python_version>="3.8"',
231231
'pytest-cov==4.1.0',
232232
],
233233
# pip install -e .[flake8]

0 commit comments

Comments
 (0)