def fill_in(field_locator, options = {})
      field = locate_field(field_locator, TextField, TextareaField, PasswordField)
      field.raise_error_if_disabled
      field.set(options[:with])
    end
def fill_in(field_locator, options = {})
      field = locate_field(field_locator, TextField, TextareaField, PasswordField)
      field.raise_error_if_disabled
      field.set(options[:with])
    end
Verifies an input field or textarea exists on the current page, and stores a value for
 it which will be sent when the form is submitted.

 Examples:
   fill_in "Email", :with => "user@example.com"
   fill_in "user[email]", :with => "user@example.com"

 The field value is required, and must be specified in <tt>options[:with]</tt>.
 <tt>field</tt> can be either the value of a name attribute (i.e. <tt>user[email]</tt>)
 or the text inside a <tt><label></tt> element that points at the <tt><input></tt> field.