Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/test/chromedriver/client/

Issue 288193004: [Chromedriver] Add Device Metrics override support to ChromeDriver via Capabilities (Closed) Base URL:
Patch Set: Created 6 years, 7 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/client/
diff --git a/chrome/test/chromedriver/client/ b/chrome/test/chromedriver/client/
index b3e6a641f5b553151efcddb1e2485deb079e52b3..5d7dda689f0e5a894946f94d200d669b56d25018 100644
--- a/chrome/test/chromedriver/client/
+++ b/chrome/test/chromedriver/client/
@@ -25,6 +25,9 @@ class WebElement(object):
return self._Execute(
Command.FIND_CHILD_ELEMENTS, {'using': strategy, 'value': target})
+ def GetText(self):
+ return self._Execute(Command.GET_ELEMENT_TEXT)
def HoverOver(self):

Powered by Google App Engine
This is Rietveld 408576698