Hi Colin, I can’t tell you how to do it in mechanize, but I can say
that what you are trying to do is super easy in Watir: http://openqa.org/watir
Watir (Web Application Testing In Ruby) is primarily used for driving
browser-based test automation, but it has a wonderful API that makes
what you describe very easy. Originally the only choice of browser to
drive was IE, but now the FireWatir and SafariWatir projects are
getting strong as well.
Shows the form password value as being an md5password. Are you creating
an
md5 hash out of your password before supplying it to mechanize? If not
then
I would assume that is the problem.