Skip to content

Commit 3988f07

Browse files
committed
Keep logs under control when running Chrome on Windows
1 parent e4afc39 commit 3988f07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ def _set_chrome_options(downloads_path, proxy_string):
7070
chrome_options.add_argument("--start-maximized")
7171
# Run Chrome in full screen mode on MAC/Linux
7272
chrome_options.add_argument("--kiosk")
73+
if "win32" in sys.platform or "win64" in sys.platform:
74+
chrome_options.add_argument("--log-level=3")
7375
return chrome_options
7476

7577

0 commit comments

Comments
 (0)