Mechanize is a Javascript library that enables automated web interaction.