field.rb

Path: lib/mechanize/form/field.rb
Last Update: Wed Jun 20 02:11:21 +0000 2012

This class represents a field in a form. It handles the following input tags found in a form:

  • text
  • password
  • hidden
  • int
  • textarea
  • keygen

To set the value of a field, just use the value method:

  field.value = "foo"

[Validate]