class Chop::Form::Range

Public Instance Methods

fill_in!() click to toggle source
# File lib/chop/form.rb, line 225
def fill_in!
  session.execute_script("document.getElementById('#{field[:id]}').value = #{value}")
end
matches?() click to toggle source
# File lib/chop/form.rb, line 221
def matches?
  field[:type] == "range"
end