Keep logs under control when running Chrome on Windows

This commit is contained in:
Michael Mintz 2018-08-01 21:02:12 -04:00
parent e4afc39894
commit 3988f07d00
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ def _set_chrome_options(downloads_path, proxy_string):
chrome_options.add_argument("--start-maximized")
# Run Chrome in full screen mode on MAC/Linux
chrome_options.add_argument("--kiosk")
if "win32" in sys.platform or "win64" in sys.platform:
chrome_options.add_argument("--log-level=3")
return chrome_options