I am looking for perl code to go to a website, navigate through a couple of links, fill up a form and then submit it. However, I want to launch the page with the filled up form in IE so that I can see exactly what’s being submitted (and do a sanity check, perhaps change a couple of words) before actually submitting it.
I realize mechanize can be used to create the form and submit it automatically – but I’m stuck on how to “launch the filled up form webpage in a browser” part. Any help would be much appreciated.
Thanks.
You can try to use
Win32::OLEto launch IE: Controlling Internet Explorer Using Win32::OLE.WWW::Mechanize::Firefoxshould be able to do that in Firefox, but you’ll need to installmozreplextension.