Method: Selenium::WebDriver::Element#text

Defined in:
lib/selenium/webdriver/element.rb

#textString

Get the text content of this element

Returns:



78
79
80
# File 'lib/selenium/webdriver/element.rb', line 78

def text
  bridge.getElementText @id
end