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

Unified Diff: chrome/test/webdriver/test/chromedriver_tests.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/webdriver/test/chromedriver_tests.py
diff --git a/chrome/test/webdriver/test/chromedriver_tests.py b/chrome/test/webdriver/test/chromedriver_tests.py
index 175c20bb0a2ff54657abbc4ec774f95181974226..a46937308f486184286e59e53ed45f44aeeb8ba4 100644
--- a/chrome/test/webdriver/test/chromedriver_tests.py
+++ b/chrome/test/webdriver/test/chromedriver_tests.py
@@ -280,6 +280,14 @@ class DesiredCapabilitiesTest(ChromeDriverTest):
self.assertNotEqual(-1, driver.page_source.find('ExtTest2'))
driver.quit()
+ def testUseWebsiteTestingDefaults(self):
+ """Test that chromedriver initializes options for website testing."""
+ driver = self.GetNewDriver()
+ driver.get(self.GetTestDataUrl() + '/content_setting_test.html')
+ driver.set_script_timeout(10)
+ # Will timeout if infobar appears.
+ driver.execute_async_script('waitForGeo(arguments[0])')
+
class DetachProcessTest(unittest.TestCase):

Powered by Google App Engine
This is Rietveld 408576698