def get_text(self,locator):
return self.get_string("<STR_LIT>", [locator,])<EOL>
Gets the text of an element. This works for any element that contains
text. This command uses either the textContent (Mozilla-like browsers) or
the innerText (IE-like browsers) of the element, which is the rendered
text shown to the user.

'locator' is an element locator