in reply to creating a useful browser from automation

My recommendation is to avoid LWP::UserAgent for that use case and automate a browser instead. For example WWW::Mechanize::Firefox can automate Firefox and navigate you to a page following a given set of steps. For Internet Explorer there is Win32::IEAutomation. Also take a look at Selenium::Remote::Driver which maybe can automate other browsers.

  • Comment on Re: creating a useful browser from automation

Replies are listed 'Best First'.
Re^2: creating a useful browser from automation
by locked_user sundialsvc4 (Abbot) on Sep 05, 2015 at 13:33 UTC

    Selenium, being a testing tool that marshals the services of actual browser processes, can be made to fit this requirement.   Although ordinarily it shuts-down the browser instance upon completion of the tests, it does not have to.   So, all of the “hard part” of what you are trying to do here ... has already been done!   (Yay!)