| Class | Mechanize::Form::Field |
| In: |
lib/mechanize/form/field.rb
|
| Parent: | Object |
This class represents a field in a form. It handles the following input tags found in a form: text, password, hidden, int, textarea
To set the value of a field, just use the value method: field.value = "foo"
| name | [RW] | |
| node | [RW] | |
| value | [RW] |
This method is a shortcut to get field‘s DOM id. Common usage: form.field_with(:dom_id => "foo")