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

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

Issue 2230053002: [chromedriver] Added option to make element references W3C compliant. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased code with w3c flag change. Created 4 years, 4 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 bd12fd55b2cc71a9ca9b8f25ecfb495165353312..0587aa2e29900d9f2ed3433b1b7647fb771a0767 100755
--- a/chrome/test/chromedriver/test/run_py_tests.py
+++ b/chrome/test/chromedriver/test/run_py_tests.py
@@ -1288,6 +1288,10 @@ class ChromeDriverTest(ChromeDriverBaseTestWithWebServer):
self.WaitForCondition(lambda: self._driver.IsAlertOpen())
self._driver.HandleAlert(True)
+ def testElementReference(self):
+ self._driver.Load(self.GetHttpUrlForFile('/chromedriver/element_ref.html'))
+ print self._driver.FindElement('id', 'link')
+ print self._driver.FindElements('tag name', 'br')
samuong 2016/08/11 18:13:20 we should have a test that explicitly tests the w3
roisinmcl 2016/08/13 01:47:26 I added a statement in this test to check the leng
class ChromeDriverPageLoadTimeoutTest(ChromeDriverBaseTestWithWebServer):

Powered by Google App Engine
This is Rietveld 408576698