Index: chrome/test/webdriver/webdriver_automation.cc |
diff --git a/chrome/test/webdriver/webdriver_automation.cc b/chrome/test/webdriver/webdriver_automation.cc |
index 20fdfae4e199c1aef4e9f297fc2b6ea813ddbc8a..92981e728f1b05fb367097b7ac3136d3bacbb037 100644 |
--- a/chrome/test/webdriver/webdriver_automation.cc |
+++ b/chrome/test/webdriver/webdriver_automation.cc |
@@ -357,12 +357,24 @@ void Automation::Init( |
if (CommandLine::ForCurrentProcess()->HasSwitch("no-sandbox")) { |
command.AppendSwitch(switches::kNoSandbox); |
} |
+ command.AppendSwitch(switches::kEnableLogging); |
+ command.AppendSwitchASCII(switches::kLoggingLevel, "1"); |
command.AppendSwitch(switches::kDisableHangMonitor); |
command.AppendSwitch(switches::kDisablePromptOnRepost); |
command.AppendSwitch(switches::kDomAutomationController); |
command.AppendSwitch(switches::kFullMemoryCrashReport); |
command.AppendSwitch(switches::kNoDefaultBrowserCheck); |
command.AppendSwitch(switches::kNoFirstRun); |
+ command.AppendSwitch(switches::kDisableWebResources); |
+ command.AppendSwitch(switches::kSbDisableAutoUpdate); |
+ command.AppendSwitch(switches::kDisableComponentUpdate); |
+ command.AppendSwitch(switches::kDisableDefaultApps); |
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
+ command.AppendSwitchASCII(switches::kPasswordStore, "basic"); |
+#endif |
+#if defined(OS_MACOSX) |
+ command.AppendSwitch(switches::kUseMockKeychain); |
+#endif |
if (options.detach_process) |
command.AppendSwitch(switches::kAutomationReinitializeOnChannelError); |
if (options.ignore_certificate_errors) |