Web Automation with HTTP::Recorder

Many of Perl programmers at least once used LWP or its extensions to create some web automation scripts. There are no any serious problems to do simple things. However, to simulate some complicated web procedure it may take a lot of programmer’s time. In this case, the module HTTP::Recorder can do all this work for you:

HTTP::Recorder is a browser-independent recorder that records interactions with web sites and produces scripts for automated playback. Recorder produces WWW::Mechanize scripts by default (see WWW::Mechanize by Andy Lester), but provides functionality to use your own custom logger.

The article “Web Testing with HTTP::Recorder”
from Perl.com detailed explains how to setup environment and use HTTP::Recorder. There is also a couple examples which can help you create your first web automation script.
I found this module quite interesting but I didn’t find time to test it. Hope I do it soon especially as I have a complicated web automation task.

Published by

Michael Stepanov

Site owner and admin :)

2 thoughts on “Web Automation with HTTP::Recorder”

Leave a Reply

Your email address will not be published. Required fields are marked *