in reply to Re: Catching windows dialog events Win32::OLE?
in thread Catching windows dialog events Win32::OLE?

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 :(
  • Comment on Re^2: Catching windows dialog events Win32::OLE?

Replies are listed 'Best First'.
Re^3: Catching windows dialog events Win32::OLE?
by trwww (Priest) on Feb 13, 2009 at 05:19 UTC

    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,

Re^3: Catching windows dialog events Win32::OLE?
by marto (Cardinal) on Feb 13, 2009 at 10:04 UTC