module Watir::UserEditable
Public Instance Methods
append(*args)
click to toggle source
Appends the given value to the text in the text field.
@param [String, Symbol] *args
# File lib/watir-webdriver/user_editable.rb, line 22 def append(*args) send_keys(*args) end
Also aliased as: <<
clear()
click to toggle source
Clears the text field.
# File lib/watir-webdriver/user_editable.rb, line 31 def clear assert_exists assert_writable element_call { @element.clear } end
set(*args)
click to toggle source
Clear the element, the type in the given value.
@param [String, Symbol] *args
# File lib/watir-webdriver/user_editable.rb, line 10 def set(*args) clear element_call { @element.send_keys(*args) } end
Also aliased as: value=