twill: a simple scripting language for Web browsing
twill is a simple language that allows users to browse the Web from a command-line interface. With twill, you can navigate through Web sites that use forms, cookies, and most standard Web features.
This would be great for testing.