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

Unified Diff: chrome/test/chromedriver/client/webelement.py

Issue 480483002: [chromedriver] Add shadow DOM support to chromedriver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Shadow DOM fixes, now applied from a clean selenium repo Created 6 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/chromedriver/client/webelement.py
diff --git a/chrome/test/chromedriver/client/webelement.py b/chrome/test/chromedriver/client/webelement.py
index 5d7dda689f0e5a894946f94d200d669b56d25018..ebfbc7e95a15a04b933162313d6aa8fcd5138457 100644
--- a/chrome/test/chromedriver/client/webelement.py
+++ b/chrome/test/chromedriver/client/webelement.py
@@ -51,3 +51,6 @@ class WebElement(object):
def GetLocation(self):
return self._Execute(Command.GET_ELEMENT_LOCATION)
+
+ def IsDisplayed(self):
+ return self._Execute(Command.IS_ELEMENT_DISPLAYED)
« no previous file with comments | « no previous file | chrome/test/chromedriver/js/call_function.js » ('j') | chrome/test/chromedriver/test/run_py_tests.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698