Skip to content

Commit 2fd48bf

Browse files
committed
Added the get text since it is allso in the original seleniumLibrary and it brakes my tests without it :)
1 parent 46a58da commit 2fd48bf

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,7 +228,14 @@ 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`.
231234
235+
See `introduction` for details about locating elements.
236+
"""
237+
return self._get_text(locator)
238+
232239
def get_vertical_position(self, locator):
233240
"""Returns vertical position of element identified by `locator`.
234241

0 commit comments

Comments
 (0)