Skip to content

Commit fc2cb94

Browse files
committed
Check more folders for browser detection
1 parent 5362b3d commit fc2cb94

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

seleniumbase/undetected/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,12 @@ def find_chrome_executable():
558558
else:
559559
for item in map(
560560
os.environ.get,
561-
("PROGRAMFILES", "PROGRAMFILES(X86)", "LOCALAPPDATA"),
561+
(
562+
"PROGRAMFILES",
563+
"PROGRAMFILES(X86)",
564+
"LOCALAPPDATA",
565+
"PROGRAMW6432",
566+
),
562567
):
563568
for subitem in (
564569
"Google/Chrome/Application",

0 commit comments

Comments
 (0)