Module: PageObject::Platforms::SeleniumWebDriver::TextArea

Defined in:
lib/page-object/platforms/selenium_webdriver/text_area.rb

Instance Method Summary collapse

Instance Method Details

#value=(new_value) ⇒ Object

Set the value of the TextArea



10
11
12
13
# File 'lib/page-object/platforms/selenium_webdriver/text_area.rb', line 10

def value=(new_value)
  element.clear
  element.send_keys(new_value)
end