WWW::Mechanize::Plugin::Snapshot

WWW::Mechanize::Plugin::Snapshot is a snapshot the Mech object's state.
Download

WWW::Mechanize::Plugin::Snapshot Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Joe McMahon
  • Publisher web site:
  • http://search.cpan.org/~mcmahon/Class-AutoPlug-0.02/lib/Class/AutoPlug/Pluggable.pm

WWW::Mechanize::Plugin::Snapshot Tags


WWW::Mechanize::Plugin::Snapshot Description

WWW::Mechanize::Plugin::Snapshot is a snapshot the Mech object's state. WWW::Mechanize::Plugin::Snapshot is a snapshot the Mech object's state.SYNOPSIS use WWW::Mechanize::Pluggable; my $mech->new; $mech->snapshots_to("/some/file/path"); $mech->get("http://problematic.org"); # Create timestamped snapshot $snapshot_file_name = $mech->snapshot("Accessing problematic.org"); # Create user-named snapshot $foo_file = $mech->snapshot("Special file", "foo"); # Preset the comment: $mech->snapshot_comment("Failed during test set 1"); # Resulting file uses the comment preset before the # snapshot call. $standard_name = $mech->snapshot(); # Use a different filename. keeping the preset comment: $foo_file = $mech->snapshot(undef, "foo");WWW::Mechanize::Plugin::Snapshot is a Web debugging plugin. It allows you to selectively dump the results of an HTTP request to files that can be displayed in a browser, showing not only the web page at the time of the request, but also· Arbitrary comment information from the user (as text).The URL of the request.· A formatted copy of the HTTP request· A formatted HTTP response (less the actual content and the request)· The current contents of the cookie jar· The actual web page contentThe output is displayed in a frame, with the debug information on the left and the actual page HTML as fetched at the time of the snapshot on the right. Requirements: · Perl · WWW::Mechanize::Pluggable


WWW::Mechanize::Plugin::Snapshot Related Software