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

Unified Diff: chrome/test/chromedriver/test/run_py_tests.py

Issue 2776313003: Update ChromeDriver to accept W3C format InitSession (Closed)
Patch Set: Created 3 years, 9 months 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/chromedriver/test/run_py_tests.py
diff --git a/chrome/test/chromedriver/test/run_py_tests.py b/chrome/test/chromedriver/test/run_py_tests.py
index 88019e909757ef235bac54e2c91251f41eaafb7b..2ae34ab1b780876b1c890b5175e078f7fa08b6da 100755
--- a/chrome/test/chromedriver/test/run_py_tests.py
+++ b/chrome/test/chromedriver/test/run_py_tests.py
@@ -2128,13 +2128,10 @@ class MobileEmulationCapabilityTest(ChromeDriverBaseTest):
# Asserts that chromedriver has received the correct response.
# W3C compliant responses should only be received when the capability has
# been set and the request was sent in the correct format.
- driver = self.CreateDriver(send_w3c_request=True)
- self.assertFalse(driver.w3c_compliant)
-
- driver = self.CreateDriver(send_w3c_capability=True)
+ driver = self.CreateDriver()
self.assertFalse(driver.w3c_compliant)
- driver = self.CreateDriver(send_w3c_capability=True, send_w3c_request=True)
+ driver = self.CreateDriver(send_w3c_request=True)
self.assertTrue(driver.w3c_compliant)
# Asserts that errors are being raised correctly in the test client
« chrome/test/chromedriver/session_commands.cc ('K') | « chrome/test/chromedriver/session_commands.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698