Index: chrome/test/chromedriver/client/webelement.py |
diff --git a/chrome/test/chromedriver/client/webelement.py b/chrome/test/chromedriver/client/webelement.py |
index b3e6a641f5b553151efcddb1e2485deb079e52b3..5d7dda689f0e5a894946f94d200d669b56d25018 100644 |
--- a/chrome/test/chromedriver/client/webelement.py |
+++ b/chrome/test/chromedriver/client/webelement.py |
@@ -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): |
self._Execute(Command.HOVER_OVER_ELEMENT) |