I have a form, I submit_form_ok the form codes to /process which returns a redirect to say /. How can I follow the redirect to make sure it’s doing the right thing?
I have a form, I submit_form_ok the form codes to /process which returns a
Share
WWW::Mechanizefollows redirects automatically for you. So, unless you want to test that it sent you to/processbefore it sent you to/, you shouldn’t have to care. And, really, if you wind up in the right place with the right page, do you care how you got there?