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

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 3c88782f6255ddc3742748dcb0c14fffb6690bb4..dbe9db1045044932557ef011750cb0d80dde3f2b 100644
--- a/chrome/test/webdriver/test/chromedriver_tests.py
+++ b/chrome/test/webdriver/test/chromedriver_tests.py
@@ -281,6 +281,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):
« no previous file with comments | « chrome/test/webdriver/commands/create_session.cc ('k') | chrome/test/webdriver/test/content_setting_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698