| [reply] |
Yes Mechanize does work wonderfully for forms...it even lets you set <input type='file'> properties... BUT
Sadly the site I am trying to do this on uses javascript which Mechanize does not support :(
| [reply] |
Sadly the site I am trying to do this on uses javascript which Mechanize does not support :(
You're thinking about WWW::Mechanize. Win32::IE::Mechanize is a Win32::OLE wrapper just like the code you are trying to write.
Another more efficient approach than the one you are taking is to use HTTP::Recorder or similar utility and bypass the browser completely.
Yet another method that is going to be more efficient than using the raw Win32::OLE API is to use one of the many interfaces to a piece of software called Selenium
Basically, you are reinventing a wheel that has already been reinvented over and over and over (which of course is okay if... its okay with you).
regards,
| [reply] |
| [reply] |