Method: Celerity::Element#text
- Defined in:
- lib/celerity/element.rb
#text ⇒ String Also known as: innerText, inner_text
Return a text representation of the element as it would appear in a browser.
203 204 205 206 |
# File 'lib/celerity/element.rb', line 203 def text assert_exists @object.asText.strip # this must behave like ElementLocator end |