Reduce unwanted logging messages

This commit is contained in:
Michael Mintz 2020-01-09 21:44:22 -05:00
parent c5748f88a4
commit ee83a6fa7d
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def _set_chrome_options(
chrome_options.add_experimental_option("prefs", prefs)
chrome_options.add_experimental_option("w3c", True)
chrome_options.add_experimental_option(
"excludeSwitches", ["enable-automation"])
"excludeSwitches", ["enable-automation", "enable-logging"])
if servername == "localhost" or servername == "127.0.0.1":
chrome_options.add_experimental_option("useAutomationExtension", False)
if mobile_emulator: