Module: PageObject::Platforms::SeleniumWebDriver::TextField
- Defined in:
- lib/page-object/platforms/selenium_webdriver/text_field.rb
Instance Method Summary collapse
-
#value=(new_value) ⇒ Object
Set the value of the TextField.
Instance Method Details
#value=(new_value) ⇒ Object
Set the value of the TextField
10 11 12 13 |
# File 'lib/page-object/platforms/selenium_webdriver/text_field.rb', line 10 def value=(new_value) element.clear element.send_keys(new_value) end |