Gettext
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.
Required Attributes
property
the name of the property to save the value to.
Usage Examples
Example #1
<selenium baseurl="http://someplace.com">
<open url="/" />
<getText locator="//input[@id='address']" property="address.value" />
</selenium>