in reply to CGI Test Framework?

Test::WWW::Mechanize might be what you are looking for.

-stvn