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.
187 188 189 190 |
# File 'lib/celerity/element.rb', line 187 def text assert_exists @object.asText.strip # this must behave like ElementLocator end |