Module: PageObject::Platforms::WatirWebDriver::TextArea
- Defined in:
- lib/page-object/platforms/watir_webdriver/text_area.rb
Instance Method Summary collapse
-
#clear ⇒ Object
Clear the TextArea.
-
#value=(new_value) ⇒ Object
Set the value of the TextArea.
Instance Method Details
#clear ⇒ Object
Clear the TextArea
17 18 19 |
# File 'lib/page-object/platforms/watir_webdriver/text_area.rb', line 17 def clear element.wd.clear end |
#value=(new_value) ⇒ Object
Set the value of the TextArea
10 11 12 |
# File 'lib/page-object/platforms/watir_webdriver/text_area.rb', line 10 def value=(new_value) element.set(new_value) end |