Sha256: 40fc5753fd87ae2eb017fe4703d05e150ce28c551bcb00a70b79d17235768c9f
Contents?: true
Size: 643 Bytes
Versions: 12
Compression:
Stored size: 643 Bytes
Contents
module Watir module UserEditable # # Clear the element, the type in the given value. # # @param [String, Symbol] *args # def set(*args) clear element_call { @element.send_keys(*args) } end alias_method :value=, :set # # Appends the given value to the text in the text field. # # @param [String, Symbol] *args # def append(*args) send_keys(*args) end alias_method :<<, :append # # Clears the text field. # def clear assert_exists assert_writable element_call { @element.clear } end end # UserEditable end # Watir
Version data entries
12 entries across 12 versions & 2 rubygems