summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/webdriver')
-rw-r--r--chrome/test/webdriver/test/chromedriver_tests.py1
-rw-r--r--chrome/test/webdriver/webdriver_automation.cc7
2 files changed, 1 insertions, 7 deletions
diff --git a/chrome/test/webdriver/test/chromedriver_tests.py b/chrome/test/webdriver/test/chromedriver_tests.py
index aab3b90..ae9e0a0 100644
--- a/chrome/test/webdriver/test/chromedriver_tests.py
+++ b/chrome/test/webdriver/test/chromedriver_tests.py
@@ -1036,7 +1036,6 @@ class GeolocationTest(ChromeDriverTest):
def testGeolocation(self):
"""Tests the get and set geolocation commands."""
driver = self.GetNewDriver()
- driver.get(self.GetTestDataUrl() + '/empty.html')
# TODO(kkania): Update the python bindings and get rid of these.
driver.command_executor._commands.update({
diff --git a/chrome/test/webdriver/webdriver_automation.cc b/chrome/test/webdriver/webdriver_automation.cc
index 630132e..8230266 100644
--- a/chrome/test/webdriver/webdriver_automation.cc
+++ b/chrome/test/webdriver/webdriver_automation.cc
@@ -364,13 +364,8 @@ void Automation::Init(
command.AppendSwitch(switches::kFullMemoryCrashReport);
command.AppendSwitch(switches::kNoDefaultBrowserCheck);
command.AppendSwitch(switches::kNoFirstRun);
- command.AppendSwitch(switches::kDisableBackgroundNetworking);
- command.AppendSwitch(switches::kDisableSync);
- command.AppendSwitch(switches::kDisableTranslate);
command.AppendSwitch(switches::kDisableWebResources);
command.AppendSwitch(switches::kSbDisableAutoUpdate);
- command.AppendSwitch(switches::kSbDisableDownloadProtection);
- command.AppendSwitch(switches::kDisableClientSidePhishingDetection);
command.AppendSwitch(switches::kDisableComponentUpdate);
command.AppendSwitch(switches::kDisableDefaultApps);
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
@@ -384,7 +379,7 @@ void Automation::Init(
if (options.ignore_certificate_errors)
command.AppendSwitch(switches::kIgnoreCertificateErrors);
if (options.user_data_dir.empty())
- command.AppendArg(chrome::kAboutBlankURL);
+ command.AppendSwitchASCII(switches::kHomePage, chrome::kAboutBlankURL);
command.AppendArguments(options.command, true /* include_program */);