Method: PageObject::Platforms::SeleniumWebDriver::TextField#value=
- Defined in:
- lib/page-object/platforms/selenium_webdriver/text_field.rb
#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 |