Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: chrome/test/pyautolib/chrome_driver_factory.py

Issue 8890026: Allow chromedriver to set local state preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/pyautolib/chrome_driver_factory.py
diff --git a/chrome/test/pyautolib/chrome_driver_factory.py b/chrome/test/pyautolib/chrome_driver_factory.py
index 5960f98e45733ca3c3ec20ca002e8666efb669f4..b0182be7e88550fba9d31b0ef5ac6f3db84eb4dd 100644
--- a/chrome/test/pyautolib/chrome_driver_factory.py
+++ b/chrome/test/pyautolib/chrome_driver_factory.py
@@ -41,7 +41,8 @@ class ChromeDriverFactory(object):
channel_id = os.path.join(tempfile.gettempdir(), channel_id)
pyauto.CreateNewAutomationProvider(channel_id)
return webdriver.Remote(self._chromedriver_server.service_url,
- {'chrome.channel': channel_id})
+ {'chrome.channel': channel_id,
+ 'chrome.useWebsiteTestingDefaults': False})
Huyen 2011/12/09 23:56:55 did you mean "chrome.noWebsiteTestingDefaults"?
kkania 2011/12/10 00:37:44 Done.
def _StartServerIfNecessary(self):
"""Starts the ChromeDriver server, if not already started."""

Powered by Google App Engine
This is Rietveld 408576698