Sha256: 59f8347fc5d7dd8e947d72e466b1c20e046ac3e398befa54377751ec2d352448
Contents?: true
Size: 686 Bytes
Versions: 23
Compression:
Stored size: 686 Bytes
Contents
module Watir module UserEditable # # Clear the element, the type in the given value. # # @param [String, Symbol] *args # def set(*args) element_call(:wait_for_writable) do @element.clear @element.send_keys(*args) end 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 element_call(:wait_for_writable) do @element.clear end end end # UserEditable end # Watir
Version data entries
23 entries across 23 versions & 1 rubygems