Skip to content

Commit 836b58c

Browse files
committed
added the get_text back.
1 parent d259be1 commit 836b58c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Selenium2Library/keywords/_element.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ def get_value(self, locator):
228228
See `introduction` for details about locating elements.
229229
"""
230230
return self._get_value(locator)
231+
232+
def get_text(self, locator):
233+
"""Returns the text value of element identified by `locator`.
234+
235+
See `introduction` for details about locating elements.
236+
"""
237+
return self._get_text(locator)
231238

232239
def get_vertical_position(self, locator):
233240
"""Returns vertical position of element identified by `locator`.

0 commit comments

Comments
 (0)