diff -pruN 2.12-1/Changes 2.13-1/Changes
--- 2.12-1/Changes	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/Changes	2022-07-29 09:44:58.000000000 +0000
@@ -1,5 +1,16 @@
 Revision history for WWW::Mechanize
 
+2.13      2022-07-29 09:44:46Z
+    [ENHANCEMENTS]
+    - mech_dump now treats all local files like HTML regardless of what it
+      thinks their content types are (GH#63) (Julien Fiegehenn)
+    - We now consistently use our own die() method and therefore the onerror
+      handler wherever possible (GH#80) (Julien Fiegehenn)
+
+    [TESTS]
+    - Add tests for field() when working on a <textarea> (GH#220) (Julien
+      Fiegehenn)
+
 2.12      2022-07-20 06:45:40Z
 
     [ENHANCEMENTS]
diff -pruN 2.12-1/cpanfile 2.13-1/cpanfile
--- 2.12-1/cpanfile	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/cpanfile	2022-07-29 09:44:58.000000000 +0000
@@ -10,7 +10,7 @@ requires "HTML::TreeBuilder" => "5";
 requires "HTTP::Cookies" => "0";
 requires "HTTP::Request" => "1.30";
 requires "HTTP::Request::Common" => "0";
-requires "LWP::UserAgent" => "6.45";
+requires "LWP::UserAgent" => "0";
 requires "Pod::Usage" => "0";
 requires "Scalar::Util" => "1.14";
 requires "Tie::RefHash" => "0";
@@ -29,7 +29,6 @@ on 'test' => sub {
   requires "File::Temp" => "0";
   requires "FindBin" => "0";
   requires "HTTP::Daemon" => "6.12";
-  requires "HTTP::Response" => "0";
   requires "LWP" => "0";
   requires "LWP::Simple" => "0";
   requires "Path::Tiny" => "0";
diff -pruN 2.12-1/debian/changelog 2.13-1/debian/changelog
--- 2.12-1/debian/changelog	2022-07-21 22:05:40.000000000 +0000
+++ 2.13-1/debian/changelog	2022-08-01 17:21:58.000000000 +0000
@@ -1,3 +1,9 @@
+libwww-mechanize-perl (2.13-1) unstable; urgency=medium
+
+  * Import upstream version 2.13.
+
+ -- gregor herrmann <gregoa@debian.org>  Mon, 01 Aug 2022 19:21:58 +0200
+
 libwww-mechanize-perl (2.12-1) unstable; urgency=medium
 
   * Import upstream version 2.12.
diff -pruN 2.12-1/lib/WWW/Mechanize/Cookbook.pod 2.13-1/lib/WWW/Mechanize/Cookbook.pod
--- 2.12-1/lib/WWW/Mechanize/Cookbook.pod	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/lib/WWW/Mechanize/Cookbook.pod	2022-07-29 09:44:58.000000000 +0000
@@ -13,7 +13,7 @@ WWW::Mechanize::Cookbook - Recipes for u
 
 =head1 VERSION
 
-version 2.12
+version 2.13
 
 =head1 INTRODUCTION
 
diff -pruN 2.12-1/lib/WWW/Mechanize/Examples.pod 2.13-1/lib/WWW/Mechanize/Examples.pod
--- 2.12-1/lib/WWW/Mechanize/Examples.pod	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/lib/WWW/Mechanize/Examples.pod	2022-07-29 09:44:58.000000000 +0000
@@ -13,7 +13,7 @@ WWW::Mechanize::Examples - Sample progra
 
 =head1 VERSION
 
-version 2.12
+version 2.13
 
 =head1 SYNOPSIS
 
diff -pruN 2.12-1/lib/WWW/Mechanize/FAQ.pod 2.13-1/lib/WWW/Mechanize/FAQ.pod
--- 2.12-1/lib/WWW/Mechanize/FAQ.pod	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/lib/WWW/Mechanize/FAQ.pod	2022-07-29 09:44:58.000000000 +0000
@@ -13,7 +13,7 @@ WWW::Mechanize::FAQ - Frequently Asked Q
 
 =head1 VERSION
 
-version 2.12
+version 2.13
 
 =head1 How to get help with WWW::Mechanize
 
diff -pruN 2.12-1/lib/WWW/Mechanize/Image.pm 2.13-1/lib/WWW/Mechanize/Image.pm
--- 2.12-1/lib/WWW/Mechanize/Image.pm	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/lib/WWW/Mechanize/Image.pm	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@ package WWW::Mechanize::Image;
 use strict;
 use warnings;
 
-our $VERSION = '2.12';
+our $VERSION = '2.13';
 
 #ABSTRACT: Image object for WWW::Mechanize
 
@@ -69,7 +69,7 @@ WWW::Mechanize::Image - Image object for
 
 =head1 VERSION
 
-version 2.12
+version 2.13
 
 =head1 SYNOPSIS
 
diff -pruN 2.12-1/lib/WWW/Mechanize/Link.pm 2.13-1/lib/WWW/Mechanize/Link.pm
--- 2.12-1/lib/WWW/Mechanize/Link.pm	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/lib/WWW/Mechanize/Link.pm	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@ package WWW::Mechanize::Link;
 use strict;
 use warnings;
 
-our $VERSION = '2.12';
+our $VERSION = '2.13';
 
 #ABSTRACT: Link object for WWW::Mechanize
 
@@ -65,7 +65,7 @@ WWW::Mechanize::Link - Link object for W
 
 =head1 VERSION
 
-version 2.12
+version 2.13
 
 =head1 SYNOPSIS
 
diff -pruN 2.12-1/lib/WWW/Mechanize.pm 2.13-1/lib/WWW/Mechanize.pm
--- 2.12-1/lib/WWW/Mechanize.pm	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/lib/WWW/Mechanize.pm	2022-07-29 09:44:58.000000000 +0000
@@ -6,14 +6,13 @@ package WWW::Mechanize;
 use strict;
 use warnings;
 
-our $VERSION = '2.12';
+our $VERSION = '2.13';
 
-use Tie::RefHash;
-use HTTP::Request 1.30;
-use LWP::UserAgent 6.45;
-use HTML::Form 1.00;
+use Tie::RefHash ();
+use HTTP::Request 1.30 ();
+use HTML::Form 1.00 ();
 use HTML::TokeParser ();
-use Scalar::Util qw(tainted);
+use Scalar::Util qw( tainted );
 
 use base 'LWP::UserAgent';
 
@@ -705,7 +704,7 @@ sub form_id {
 
 sub all_forms_with_fields {
     my ($self, @fields) = @_;
-    die 'no fields provided' unless scalar @fields;
+    $self->die('no fields provided') unless scalar @fields;
 
     my @matches;
     FORMS: for my $form (@{ $self->forms }) {
@@ -722,7 +721,7 @@ sub all_forms_with_fields {
 
 sub form_with_fields {
     my ($self, @fields) = @_;
-    die 'no fields provided' unless scalar @fields;
+    $self->die('no fields provided') unless scalar @fields;
 
     my $nth;
     if ( @fields > 1 && ref $fields[-1] eq 'HASH' ) {
@@ -1141,7 +1140,6 @@ sub submit_form {
 
     my @filtered_sets;
     if ( $args{with_fields} ) {
-        $fields || die q{must submit some 'fields' with with_fields};
         my @got = $self->all_forms_with_fields(keys %{$fields});
         $self->die("There is no form with the requested fields") if not @got;
         push @filtered_sets, \@got;
@@ -1171,7 +1169,7 @@ sub submit_form {
         # Assume that each filtered set only has a given form object once.
         # So we can count occurrences.
         #
-        tie my %c, 'Tie::RefHash' or die;
+        tie my %c, Tie::RefHash:: or $self->die('Cannot determine a form to use');
         foreach (@filtered_sets) {
             foreach (@$_) {
                 ++$c{$_};
@@ -1386,7 +1384,7 @@ sub request {
     my $self = shift;
     my $request = shift;
 
-    _die( '->request was called without a request parameter' )
+    $self->die( '->request was called without a request parameter' )
         unless $request;
 
     $request = $self->_modify_request( $request );
@@ -1515,7 +1513,7 @@ sub _taintedness {
     }
 
     # Sanity check
-    die "Our taintbrush should have zero length!" if length $_taintbrush;
+    die("Our taintbrush should have zero length!") if length $_taintbrush;
 
     return $_taintbrush;
 }
@@ -1865,7 +1863,7 @@ WWW::Mechanize - Handy web browsing in a
 
 =head1 VERSION
 
-version 2.12
+version 2.13
 
 =head1 SYNOPSIS
 
diff -pruN 2.12-1/Makefile.PL 2.13-1/Makefile.PL
--- 2.12-1/Makefile.PL	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/Makefile.PL	2022-07-29 09:44:58.000000000 +0000
@@ -29,7 +29,7 @@ my %WriteMakefileArgs = (
     "HTTP::Cookies" => 0,
     "HTTP::Request" => "1.30",
     "HTTP::Request::Common" => 0,
-    "LWP::UserAgent" => "6.45",
+    "LWP::UserAgent" => 0,
     "Pod::Usage" => 0,
     "Scalar::Util" => "1.14",
     "Tie::RefHash" => 0,
@@ -46,7 +46,6 @@ my %WriteMakefileArgs = (
     "File::Temp" => 0,
     "FindBin" => 0,
     "HTTP::Daemon" => "6.12",
-    "HTTP::Response" => 0,
     "LWP" => 0,
     "LWP::Simple" => 0,
     "Path::Tiny" => 0,
@@ -65,7 +64,7 @@ my %WriteMakefileArgs = (
     "bytes" => 0,
     "lib" => 0
   },
-  "VERSION" => "2.12",
+  "VERSION" => "2.13",
   "test" => {
     "TESTS" => "t/*.t t/local/*.t t/mech-dump/*.t"
   }
@@ -88,10 +87,9 @@ my %FallbackPrereqs = (
   "HTTP::Daemon" => "6.12",
   "HTTP::Request" => "1.30",
   "HTTP::Request::Common" => 0,
-  "HTTP::Response" => 0,
   "LWP" => 0,
   "LWP::Simple" => 0,
-  "LWP::UserAgent" => "6.45",
+  "LWP::UserAgent" => 0,
   "Path::Tiny" => 0,
   "Pod::Usage" => 0,
   "Scalar::Util" => "1.14",
diff -pruN 2.12-1/MANIFEST 2.13-1/MANIFEST
--- 2.12-1/MANIFEST	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/MANIFEST	2022-07-29 09:44:58.000000000 +0000
@@ -65,6 +65,7 @@ t/history.t
 t/history_1.html
 t/history_2.html
 t/history_3.html
+t/html_file.txt
 t/image-new.t
 t/image-parse.css
 t/image-parse.html
diff -pruN 2.12-1/META.json 2.13-1/META.json
--- 2.12-1/META.json	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/META.json	2022-07-29 09:44:58.000000000 +0000
@@ -73,7 +73,7 @@
             "HTTP::Cookies" : "0",
             "HTTP::Request" : "1.30",
             "HTTP::Request::Common" : "0",
-            "LWP::UserAgent" : "6.45",
+            "LWP::UserAgent" : "0",
             "Pod::Usage" : "0",
             "Scalar::Util" : "1.14",
             "Tie::RefHash" : "0",
@@ -96,7 +96,6 @@
             "File::Temp" : "0",
             "FindBin" : "0",
             "HTTP::Daemon" : "6.12",
-            "HTTP::Response" : "0",
             "LWP" : "0",
             "LWP::Simple" : "0",
             "Path::Tiny" : "0",
@@ -120,15 +119,15 @@
    "provides" : {
       "WWW::Mechanize" : {
          "file" : "lib/WWW/Mechanize.pm",
-         "version" : "2.12"
+         "version" : "2.13"
       },
       "WWW::Mechanize::Image" : {
          "file" : "lib/WWW/Mechanize/Image.pm",
-         "version" : "2.12"
+         "version" : "2.13"
       },
       "WWW::Mechanize::Link" : {
          "file" : "lib/WWW/Mechanize/Link.pm",
-         "version" : "2.12"
+         "version" : "2.13"
       }
    },
    "release_status" : "stable",
@@ -143,10 +142,10 @@
          "web" : "https://github.com/libwww-perl/WWW-Mechanize"
       }
    },
-   "version" : "2.12",
+   "version" : "2.13",
    "x_Dist_Zilla" : {
       "perl" : {
-         "version" : "5.028000"
+         "version" : "5.026001"
       },
       "plugins" : [
          {
@@ -190,7 +189,7 @@
             "class" : "Dist::Zilla::Plugin::MakeMaker",
             "config" : {
                "Dist::Zilla::Role::TestRunner" : {
-                  "default_jobs" : "5"
+                  "default_jobs" : 1
                }
             },
             "name" : "@Author::OALDERS/MakeMaker",
@@ -246,7 +245,7 @@
             "config" : {
                "Dist::Zilla::Role::ModuleMetadata" : {
                   "Module::Metadata" : "1.000037",
-                  "version" : "0.006"
+                  "version" : "0.005"
                }
             },
             "name" : "@Author::OALDERS/InstallGuide",
@@ -333,7 +332,7 @@
             "class" : "Dist::Zilla::Plugin::RunExtraTests",
             "config" : {
                "Dist::Zilla::Role::TestRunner" : {
-                  "default_jobs" : "5"
+                  "default_jobs" : 1
                }
             },
             "name" : "@Author::OALDERS/RunExtraTests",
@@ -509,7 +508,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.34.1",
+                  "git_version" : "2.25.1",
                   "repo_root" : "."
                }
             },
@@ -520,7 +519,7 @@
             "class" : "Dist::Zilla::Plugin::Git::Contributors",
             "config" : {
                "Dist::Zilla::Plugin::Git::Contributors" : {
-                  "git_version" : "2.34.1",
+                  "git_version" : "2.25.1",
                   "include_authors" : 0,
                   "include_releaser" : 1,
                   "order_by" : "name",
@@ -640,7 +639,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.34.1",
+                  "git_version" : "2.25.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -657,12 +656,12 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v2.12",
+                  "tag" : "v2.13",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.34.1",
+                  "git_version" : "2.25.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -713,7 +712,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.34.1",
+                  "git_version" : "2.25.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -733,7 +732,7 @@
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.34.1",
+                  "git_version" : "2.25.1",
                   "repo_root" : "."
                }
             },
@@ -749,7 +748,7 @@
             "class" : "Dist::Zilla::Plugin::RunExtraTests",
             "config" : {
                "Dist::Zilla::Role::TestRunner" : {
-                  "default_jobs" : "5"
+                  "default_jobs" : 1
                }
             },
             "name" : "RunExtraTests",
@@ -829,7 +828,7 @@
                },
                "Dist::Zilla::Role::ModuleMetadata" : {
                   "Module::Metadata" : "1.000037",
-                  "version" : "0.006"
+                  "version" : "0.005"
                }
             },
             "name" : "MetaProvides::Package",
@@ -957,8 +956,8 @@
       "Zefram <zefram@fysh.org>",
       "\u7a4d\u4e39\u5c3c Dan Jacobson <jidanni@jidanni.org>"
    ],
-   "x_generated_by_perl" : "v5.28.0",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.04",
+   "x_generated_by_perl" : "v5.26.1",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.02",
    "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
    "x_static_install" : 1
 }
diff -pruN 2.12-1/META.yml 2.13-1/META.yml
--- 2.12-1/META.yml	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/META.yml	2022-07-29 09:44:58.000000000 +0000
@@ -9,7 +9,6 @@ build_requires:
   File::Temp: '0'
   FindBin: '0'
   HTTP::Daemon: '6.12'
-  HTTP::Response: '0'
   LWP: '0'
   LWP::Simple: '0'
   Path::Tiny: '0'
@@ -44,13 +43,13 @@ no_index:
 provides:
   WWW::Mechanize:
     file: lib/WWW/Mechanize.pm
-    version: '2.12'
+    version: '2.13'
   WWW::Mechanize::Image:
     file: lib/WWW/Mechanize/Image.pm
-    version: '2.12'
+    version: '2.13'
   WWW::Mechanize::Link:
     file: lib/WWW/Mechanize/Link.pm
-    version: '2.12'
+    version: '2.13'
 recommends:
   Compress::Zlib: '0'
 requires:
@@ -63,7 +62,7 @@ requires:
   HTTP::Cookies: '0'
   HTTP::Request: '1.30'
   HTTP::Request::Common: '0'
-  LWP::UserAgent: '6.45'
+  LWP::UserAgent: '0'
   Pod::Usage: '0'
   Scalar::Util: '1.14'
   Tie::RefHash: '0'
@@ -77,10 +76,10 @@ resources:
   bugtracker: https://github.com/libwww-perl/WWW-Mechanize/issues
   homepage: https://github.com/libwww-perl/WWW-Mechanize
   repository: https://github.com/libwww-perl/WWW-Mechanize.git
-version: '2.12'
+version: '2.13'
 x_Dist_Zilla:
   perl:
-    version: '5.028000'
+    version: '5.026001'
   plugins:
     -
       class: Dist::Zilla::Plugin::PromptIfStale
@@ -115,7 +114,7 @@ x_Dist_Zilla:
       class: Dist::Zilla::Plugin::MakeMaker
       config:
         Dist::Zilla::Role::TestRunner:
-          default_jobs: '5'
+          default_jobs: 1
       name: '@Author::OALDERS/MakeMaker'
       version: '6.025'
     -
@@ -159,7 +158,7 @@ x_Dist_Zilla:
       config:
         Dist::Zilla::Role::ModuleMetadata:
           Module::Metadata: '1.000037'
-          version: '0.006'
+          version: '0.005'
       name: '@Author::OALDERS/InstallGuide'
       version: '1.200014'
     -
@@ -225,7 +224,7 @@ x_Dist_Zilla:
       class: Dist::Zilla::Plugin::RunExtraTests
       config:
         Dist::Zilla::Role::TestRunner:
-          default_jobs: '5'
+          default_jobs: 1
       name: '@Author::OALDERS/RunExtraTests'
       version: '0.029'
     -
@@ -362,7 +361,7 @@ x_Dist_Zilla:
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.34.1
+          git_version: 2.25.1
           repo_root: .
       name: '@Author::OALDERS/Git::Check'
       version: '2.048'
@@ -370,7 +369,7 @@ x_Dist_Zilla:
       class: Dist::Zilla::Plugin::Git::Contributors
       config:
         Dist::Zilla::Plugin::Git::Contributors:
-          git_version: 2.34.1
+          git_version: 2.25.1
           include_authors: 0
           include_releaser: 1
           order_by: name
@@ -462,7 +461,7 @@ x_Dist_Zilla:
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.34.1
+          git_version: 2.25.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -475,11 +474,11 @@ x_Dist_Zilla:
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v2.12
+          tag: v2.13
           tag_format: v%V
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.34.1
+          git_version: 2.25.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -517,7 +516,7 @@ x_Dist_Zilla:
             - (?^:^lib/.*\.pm$)
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.34.1
+          git_version: 2.25.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -531,7 +530,7 @@ x_Dist_Zilla:
             - origin
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.34.1
+          git_version: 2.25.1
           repo_root: .
       name: '@Author::OALDERS/Git::Push'
       version: '2.048'
@@ -543,7 +542,7 @@ x_Dist_Zilla:
       class: Dist::Zilla::Plugin::RunExtraTests
       config:
         Dist::Zilla::Role::TestRunner:
-          default_jobs: '5'
+          default_jobs: 1
       name: RunExtraTests
       version: '0.029'
     -
@@ -602,7 +601,7 @@ x_Dist_Zilla:
           meta_noindex: '1'
         Dist::Zilla::Role::ModuleMetadata:
           Module::Metadata: '1.000037'
-          version: '0.006'
+          version: '0.005'
       name: MetaProvides::Package
       version: '2.004003'
     -
@@ -711,7 +710,7 @@ x_contributors:
   - 'Ville Skyttä <ville.skytta@iki.fi>'
   - 'Zefram <zefram@fysh.org>'
   - '積丹尼 Dan Jacobson <jidanni@jidanni.org>'
-x_generated_by_perl: v5.28.0
+x_generated_by_perl: v5.26.1
 x_serialization_backend: 'YAML::Tiny version 1.73'
 x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
 x_static_install: 1
diff -pruN 2.12-1/README.md 2.13-1/README.md
--- 2.12-1/README.md	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/README.md	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ WWW::Mechanize - Handy web browsing in a
 
 # VERSION
 
-version 2.12
+version 2.13
 
 # SYNOPSIS
 
@@ -71,7 +71,7 @@ Features include:
 - HTTP authentication
 
 Mech is well suited for use in testing web applications.  If you use
-one of the Test::\*, like [Test::HTML::Lint](https://metacpan.org/pod/Test%3A%3AHTML%3A%3ALint) modules, you can check the
+one of the Test::\*, like [Test::HTML::Lint](https://metacpan.org/pod/Test::HTML::Lint) modules, you can check the
 fetched content and use that as input to a test call.
 
     use Test::More;
@@ -95,13 +95,13 @@ level wrappers around them.
     $mech->set_visible( @criteria );
     $mech->click( $button );
 
-[WWW::Mechanize](https://metacpan.org/pod/WWW%3A%3AMechanize) is a proper subclass of [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent) and
-you can also use any of [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent)'s methods.
+[WWW::Mechanize](https://metacpan.org/pod/WWW::Mechanize) is a proper subclass of [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent) and
+you can also use any of [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent)'s methods.
 
     $mech->add_header($name => $value);
 
 Please note that Mech does NOT support JavaScript, you need additional software
-for that. Please check ["JavaScript" in WWW::Mechanize::FAQ](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AFAQ#JavaScript) for more.
+for that. Please check ["JavaScript" in WWW::Mechanize::FAQ](https://metacpan.org/pod/WWW::Mechanize::FAQ#JavaScript) for more.
 
 # IMPORTANT LINKS
 
@@ -144,7 +144,7 @@ bot accepting cookies, you have to expli
     my $mech = WWW::Mechanize->new( cookie_jar => undef );
 
 Here are the params that WWW::Mechanize recognizes.  These do not include
-params that [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent) recognizes.
+params that [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent) recognizes.
 
 - `autocheck => [0|1]`
 
@@ -153,19 +153,19 @@ params that [LWP::UserAgent](https://met
     are errors, not warnings.
 
     The default value is ON, unless it's being subclassed, in which
-    case it is OFF.  This means that standalone [WWW::Mechanize](https://metacpan.org/pod/WWW%3A%3AMechanize) instances
+    case it is OFF.  This means that standalone [WWW::Mechanize](https://metacpan.org/pod/WWW::Mechanize) instances
     have autocheck turned on, which is protective for the vast majority
     of Mech users who don't bother checking the return value of get()
     and post() and can't figure why their code fails. However, if
-    [WWW::Mechanize](https://metacpan.org/pod/WWW%3A%3AMechanize) is subclassed, such as for [Test::WWW::Mechanize](https://metacpan.org/pod/Test%3A%3AWWW%3A%3AMechanize)
-    or [Test::WWW::Mechanize::Catalyst](https://metacpan.org/pod/Test%3A%3AWWW%3A%3AMechanize%3A%3ACatalyst), this may not be an appropriate
+    [WWW::Mechanize](https://metacpan.org/pod/WWW::Mechanize) is subclassed, such as for [Test::WWW::Mechanize](https://metacpan.org/pod/Test::WWW::Mechanize)
+    or [Test::WWW::Mechanize::Catalyst](https://metacpan.org/pod/Test::WWW::Mechanize::Catalyst), this may not be an appropriate
     default, so it's off.
 
 - `noproxy => [0|1]`
 
-    Turn off the automatic call to the [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent) `env_proxy` function.
+    Turn off the automatic call to the [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent) `env_proxy` function.
 
-    This needs to be explicitly turned off if you're using [Crypt::SSLeay](https://metacpan.org/pod/Crypt%3A%3ASSLeay) to
+    This needs to be explicitly turned off if you're using [Crypt::SSLeay](https://metacpan.org/pod/Crypt::SSLeay) to
     access a https site via a proxy server.  Note: you still need to set your
     HTTPS\_PROXY environment variable as appropriate.
 
@@ -204,7 +204,7 @@ params that [LWP::UserAgent](https://met
     history.
 
 In addition, WWW::Mechanize also allows you to globally enable
-strict and verbose mode for form handling, which is done with [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm).
+strict and verbose mode for form handling, which is done with [HTML::Form](https://metacpan.org/pod/HTML::Form).
 
 - `strict_forms => [0|1]`
 
@@ -233,7 +233,7 @@ strict and verbose mode for form handlin
 
 To support forms, WWW::Mechanize's constructor pushes POST
 on to the agent's `requests_redirectable` list (see also
-[LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).)
+[LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).)
 
 ## $mech->agent\_alias( $alias )
 
@@ -279,21 +279,21 @@ This can also be called as a package or
 
 ## $mech->get( $uri )
 
-Given a URL/URI, fetches it.  Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+Given a URL/URI, fetches it.  Returns an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 `$uri` can be a well-formed URL string, a [URI](https://metacpan.org/pod/URI) object, or a
-[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object.
 
 The results are stored internally in the agent object, but you don't
 know that.  Just use the accessors listed below.  Poking at the
 internals is deprecated and subject to change in the future.
 
 `get()` is a well-behaved overloaded version of the method in
-[LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).  This lets you do things like
+[LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).  This lets you do things like
 
     $mech->get( $uri, ':content_file' => $filename );
 
 and you can rest assured that the params will get filtered down
-appropriately. See ["get" in LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent#get) for more details.
+appropriately. See ["get" in LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent#get) for more details.
 
 **NOTE:** Because `:content_file` causes the page contents to be
 stored in a file instead of the response object, some Mech functions
@@ -320,31 +320,31 @@ all [field methods](#field-methods),
 
 ## $mech->post( $uri, content => $content )
 
-POSTs `$content` to `$uri`.  Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+POSTs `$content` to `$uri`.  Returns an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 `$uri` can be a well-formed URI string, a [URI](https://metacpan.org/pod/URI) object, or a
-[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object.
 
 ## $mech->put( $uri, content => $content )
 
-PUTs `$content` to `$uri`.  Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+PUTs `$content` to `$uri`.  Returns an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 `$uri` can be a well-formed URI string, a [URI](https://metacpan.org/pod/URI) object, or a
-[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object.
 
     my $res = $mech->head( $uri );
     my $res = $mech->head( $uri , $field_name => $value, ... );
 
 ## $mech->head ($uri )
 
-Performs a HEAD request to `$uri`. Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+Performs a HEAD request to `$uri`. Returns an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 `$uri` can be a well-formed URI string, a [URI](https://metacpan.org/pod/URI) object, or a
-[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object.
 
 ## $mech->reload()
 
 Acts like the reload button in a browser: repeats the current
 request. The history (as per the [back()](#mech-back) method) is not altered.
 
-Returns the [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object from the reload, or `undef`
+Returns the [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object from the reload, or `undef`
 if there's no current request.
 
 ## $mech->back()
@@ -395,7 +395,7 @@ to the URI itself.
 
 ## $mech->response() / $mech->res()
 
-Return the current response as an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+Return the current response as an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 
 Synonym for `$mech->response()`.
 
@@ -416,18 +416,18 @@ Returns the base URI for the current res
 
 When called in a list context, returns a list of the forms found in
 the last fetched page. In a scalar context, returns a reference to
-an array with those forms. The forms returned are all [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm)
+an array with those forms. The forms returned are all [HTML::Form](https://metacpan.org/pod/HTML::Form)
 objects.
 
 ## $mech->current\_form()
 
-Returns the current form as an [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) object.
+Returns the current form as an [HTML::Form](https://metacpan.org/pod/HTML::Form) object.
 
 ## $mech->links()
 
 When called in a list context, returns a list of the links found in the
 last fetched page.  In a scalar context it returns a reference to an array
-with those links.  Each link is a [WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
+with those links.  Each link is a [WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object.
 
 ## $mech->is\_html()
 
@@ -437,13 +437,13 @@ HTTP headers.
 ## $mech->title()
 
 Returns the contents of the `<TITLE>` tag, as parsed by
-[HTML::HeadParser](https://metacpan.org/pod/HTML%3A%3AHeadParser).  Returns `undef` if the content is not HTML.
+[HTML::HeadParser](https://metacpan.org/pod/HTML::HeadParser).  Returns `undef` if the content is not HTML.
 
 ## $mech->redirects()
 
-Convenience method to get the [redirects](https://metacpan.org/pod/HTTP%3A%3AResponse#r-redirects) from the most recent [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse).
+Convenience method to get the [redirects](https://metacpan.org/pod/HTTP::Response#r-redirects) from the most recent [HTTP::Response](https://metacpan.org/pod/HTTP::Response).
 
-Note that you can also use [is\_redirect](https://metacpan.org/pod/HTTP%3A%3AResponse#r-is_redirect) to see if the most recent response was a redirect like this.
+Note that you can also use [is\_redirect](https://metacpan.org/pod/HTTP::Response#r-is_redirect) to see if the most recent response was a redirect like this.
 
     $mech->get($url);
     do_stuff() if $mech->res->is_redirect;
@@ -463,7 +463,7 @@ are passed to `content()`:
 - _$mech->content( format => 'text' )_
 
     Returns a text-only version of the page, with all HTML markup
-    stripped. This feature requires [HTML::TreeBuilder](https://metacpan.org/pod/HTML%3A%3ATreeBuilder) version 5 or higher
+    stripped. This feature requires [HTML::TreeBuilder](https://metacpan.org/pod/HTML::TreeBuilder) version 5 or higher
     to be installed, or a fatal error will be thrown. This works only if
     the contents are HTML.
 
@@ -472,7 +472,7 @@ are passed to `content()`:
     Returns the HTML document, modified to contain a
     `<base href="$base_href">` mark-up in the header.
     `$base_href` is `$mech->base()` if not specified. This is
-    handy to pass the HTML to e.g. [HTML::Display](https://metacpan.org/pod/HTML%3A%3ADisplay). This works only if
+    handy to pass the HTML to e.g. [HTML::Display](https://metacpan.org/pod/HTML::Display). This works only if
     the contents are HTML.
 
 - _$mech->content( raw => 1 )_
@@ -488,7 +488,7 @@ are passed to `content()`:
 - _$mech->content( charset => $charset )_
 
     Returns `$self->response()->decoded_content(charset => $charset)`
-    (see [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) for details).
+    (see [HTTP::Response](https://metacpan.org/pod/HTTP::Response) for details).
 
 To preserve backwards compatibility, additional parameters will be
 ignored unless none of `raw | decoded_by_headers | charset` is
@@ -511,7 +511,7 @@ repeatedly.
 ## $mech->links()
 
 Lists all the links on the current page.  Each link is a
-[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object. In list context, returns a list of all
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object. In list context, returns a list of all
 links.  In scalar context, returns an array reference of all links.
 
 ## $mech->follow\_link(...)
@@ -545,7 +545,7 @@ Here some examples:
 
         $mech->follow_link( url => 'http://example.com/page' );
 
-Returns the result of the `GET` method (an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object) if a link
+Returns the result of the `GET` method (an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object) if a link
 was found.
 
 If the page has no links, or the specified link couldn't be found, returns
@@ -554,9 +554,9 @@ If the page has no links, or the specifi
 ## $mech->find\_link( ... )
 
 Finds a link in the currently fetched page. It returns a
-[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object which describes the link.  (You'll
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object which describes the link.  (You'll
 probably be most interested in the
-`[url()](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink#link-url)` property.)
+`[url()](https://metacpan.org/pod/WWW::Mechanize::Link#link-url)` property.)
 If it fails to find a link it returns `undef`.
 
 You can take the URL part and pass it to the `get()` method.  If
@@ -638,7 +638,7 @@ text of "News" and with "cnn.com" in the
     $mech->find_link( text => 'News', url_regex => qr/cnn\.com/ );
 
 The return value is a reference to an array containing a
-[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object for every link in
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object for every link in
 `[$self->content](#mech-content)`.
 
 The links come from the following:
@@ -655,7 +655,7 @@ The links come from the following:
 Returns all the links on the current page that match the criteria.  The
 method for specifying link criteria is the same as in
 `[find_link()](#mech-find_link)`.
-Each of the links returned is a [WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
+Each of the links returned is a [WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) object.
 
 In list context, `find_all_links()` returns a list of the links.
 Otherwise, it returns a reference to the list of links.
@@ -668,7 +668,7 @@ page.
 `find_all_inputs()` returns an array of all the input controls in the
 current form whose properties match all of the regexes passed in.
 The controls returned are all descended from HTML::Form::Input.
-See ["INPUTS" in HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm#INPUTS) for details.
+See ["INPUTS" in HTML::Form](https://metacpan.org/pod/HTML::Form#INPUTS) for details.
 
 If no criteria are passed, all inputs will be returned.
 
@@ -702,13 +702,13 @@ ignoring other types of input controls l
 ## $mech->images
 
 Lists all the images on the current page.  Each image is a
-[WWW::Mechanize::Image](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AImage) object. In list context, returns a list of all
+[WWW::Mechanize::Image](https://metacpan.org/pod/WWW::Mechanize::Image) object. In list context, returns a list of all
 images.  In scalar context, returns an array reference of all images.
 
 ## $mech->find\_image()
 
 Finds an image in the current page. It returns a
-[WWW::Mechanize::Image](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AImage) object which describes the image.  If it fails
+[WWW::Mechanize::Image](https://metacpan.org/pod/WWW::Mechanize::Image) object which describes the image.  If it fails
 to find an image it returns `undef`.
 
 You can select which image to find by passing in one or more of these
@@ -799,7 +799,7 @@ ALT text of "News" and with "cnn.com" in
     $mech->find_image( image => 'News', url_regex => qr/cnn\.com/ );
 
 The return value is a reference to an array containing a
-[WWW::Mechanize::Image](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AImage) object for every image in
+[WWW::Mechanize::Image](https://metacpan.org/pod/WWW::Mechanize::Image) object for every image in
 `[$mech->content](#mech-content)`.
 
 ## $mech->find\_all\_images( ... )
@@ -807,7 +807,7 @@ The return value is a reference to an ar
 Returns all the images on the current page that match the criteria.  The
 method for specifying image criteria is the same as in
 `[find_image()](#mech-find_image)`.
-Each of the images returned is a [WWW::Mechanize::Image](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AImage) object.
+Each of the images returned is a [WWW::Mechanize::Image](https://metacpan.org/pod/WWW::Mechanize::Image) object.
 
 In list context, `find_all_images()` returns a list of the images.
 Otherwise, it returns a reference to the list of images.
@@ -822,7 +822,7 @@ below.
 
 ## $mech->forms
 
-Lists all the forms on the current page.  Each form is an [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm)
+Lists all the forms on the current page.  Each form is an [HTML::Form](https://metacpan.org/pod/HTML::Form)
 object.  In list context, returns a list of all forms.  In scalar
 context, returns an array reference of all forms.
 
@@ -833,7 +833,7 @@ calls to `[field()](#mech-field-name-val
 and `[click()](#mech-click-button-x-y)`.
 Also returns the form that was selected.
 
-If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) object and set internally
+If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML::Form) object and set internally
 for later use with Mech's form methods such as
 `[field()](#mech-field-name-value-number)` and
 `[click()](#mech-click-button-x-y)`.
@@ -850,7 +850,7 @@ Selects a form by action, using a regex
 If there is more than one form on the page matching that action,
 then the first one is used, and a warning is generated.
 
-If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) object and
+If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML::Form) object and
 set internally for later use with Mech's form methods such as
 `[field()](#mech-field-name-value-number)` and
 `[click()](#mech-click-button-x-y)`.
@@ -874,7 +874,7 @@ want. The numbering starts at 1.
 If the `n` parameter is not passed, and there is more than one form on the page
 with that name, then the first one is used, and a warning is generated.
 
-If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) object and
+If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML::Form) object and
 set internally for later use with Mech's form methods such as
 `[field()](#mech-field-name-value-number)` and
 `[click()](#mech-click-button-x-y)`.
@@ -899,7 +899,7 @@ key `n` to pick which instance you want.
 If the `n` parameter is not passed, and there is more than one form on the page
 with that ID, then the first one is used, and a warning is generated.
 
-If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) object and
+If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML::Form) object and
 set internally for later use with Mech's form methods such as
 `[field()](#mech-field-name-value-number)` and
 `[click()](#mech-click-button-x-y)`.
@@ -909,7 +909,7 @@ unless `quiet` is enabled.
 
 ## $mech->all\_forms\_with\_fields( @fields )
 
-Selects a form by passing in a list of field names it must contain.  All matching forms (perhaps none) are returned as a list of [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) objects.
+Selects a form by passing in a list of field names it must contain.  All matching forms (perhaps none) are returned as a list of [HTML::Form](https://metacpan.org/pod/HTML::Form) objects.
 
 ## $mech->form\_with\_fields( @fields, \[ \\%args \] )
 
@@ -927,7 +927,7 @@ want. The numbering starts at 1.
 If the `n` parameter is not passed, and there is more than one form on the page
 with that ID, then the first one is used, and a warning is generated.
 
-If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) object and set internally
+If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML::Form) object and set internally
 for later used with Mech's form methods such as
 `[field()](#mech-field-name-value-number)` and
 `[click()](#mech-click-button-x-y)`.
@@ -941,18 +941,18 @@ Note that this functionality requires li
 Searches for forms with arbitrary attribute/value pairs within the &lt;form>
 tag.
 (Currently does not work for attribute `action` due to implementation details
-of [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm).)
+of [HTML::Form](https://metacpan.org/pod/HTML::Form).)
 When given more than one pair, all criteria must match.
 Using `undef` as value means that the attribute in question must not be present.
 
-All matching forms (perhaps none) are returned as a list of [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) objects.
+All matching forms (perhaps none) are returned as a list of [HTML::Form](https://metacpan.org/pod/HTML::Form) objects.
 
 ## $mech->form\_with( $attr1 => $value1, $attr2 => $value2, ..., \[ \\%args \] )
 
 Searches for forms with arbitrary attribute/value pairs within the &lt;form>
 tag.
 (Currently does not work for attribute `action` due to implementation details
-of [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm). Use `[form_action()](#mech-form_action-action)`
+of [HTML::Form](https://metacpan.org/pod/HTML::Form). Use `[form_action()](#mech-form_action-action)`
 instead.)
 When given more than one pair, all criteria must match.
 Using `undef` as value means that the attribute in question must not be present.
@@ -970,7 +970,7 @@ want. The numbering starts at 1.
 If the `n` parameter is not passed, and there is more than one form on the page
 matching these criteria, then the first one is used, and a warning is generated.
 
-If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML%3A%3AForm) object and set internally
+If it is found, the form is returned as an [HTML::Form](https://metacpan.org/pod/HTML::Form) object and set internally
 for later used with Mech's form methods such as
 `[field()](#mech-field-name-value-number)` and
 `[click()](#mech-click-button-x-y)`.
@@ -1122,7 +1122,7 @@ of the click.
 If there is only one button on the form, `$mech->click()` with
 no arguments simply clicks that one button.
 
-Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+Returns an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 
 ## $mech->click\_button( ... )
 
@@ -1152,7 +1152,7 @@ Dies if no button is found.
 - `input => $inputobject`
 
     Clicks on the button referenced by `$inputobject`, an instance of
-    [HTML::Form::SubmitInput](https://metacpan.org/pod/HTML%3A%3AForm%3A%3ASubmitInput) obtained e.g. from
+    [HTML::Form::SubmitInput](https://metacpan.org/pod/HTML::Form::SubmitInput) obtained e.g. from
 
         $mech->current_form()->find_input( undef, 'submit' )
 
@@ -1169,7 +1169,7 @@ Dies if no button is found.
 Submits the current form, without specifying a button to click.  Actually,
 no button is clicked at all.
 
-Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+Returns an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 
 This used to be a synonym for `$mech->click( 'submit' )`, but is no
 longer so.
@@ -1245,7 +1245,7 @@ than a file in the filesystem, you can u
 
     $mech->submit_form(with_fields => { logfile => [ [ undef, 'whatever', Content => $content ], 1 ] } );
 
-Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+Returns an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 
 # MISCELLANEOUS METHODS
 
@@ -1400,7 +1400,7 @@ as the original mech.
 
 ## $mech->redirect\_ok()
 
-An overloaded version of `redirect_ok()` in [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).
+An overloaded version of `redirect_ok()` in [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).
 This method is used to determine whether a redirection in the request
 should be followed.
 
@@ -1409,13 +1409,13 @@ Note that WWW::Mechanize's constructor p
 
 ## $mech->request( $request \[, $arg \[, $size\]\])
 
-Overloaded version of `request()` in [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).  Performs
+Overloaded version of `request()` in [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).  Performs
 the actual request.  Normally, if you're using WWW::Mechanize, it's
 because you don't want to deal with this level of stuff anyway.
 
 Note that `$request` will be modified.
 
-Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+Returns an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object.
 
 ## $mech->update\_html( $html )
 
@@ -1458,7 +1458,7 @@ validation errors.
 Provide credentials to be used for HTTP Basic authentication for
 all sites and realms until further notice.
 
-The four argument form described in [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent) is still
+The four argument form described in [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent) is still
 supported.
 
 ## $mech->get\_basic\_credentials( $realm, $uri, $isproxy )
@@ -1471,37 +1471,37 @@ Remove any credentials set up with `cred
 
 # INHERITED UNCHANGED LWP::UserAgent METHODS
 
-As a subclass of [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent), WWW::Mechanize inherits all of
-[LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent)'s methods.  Many of which are overridden or
+As a subclass of [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent), WWW::Mechanize inherits all of
+[LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent)'s methods.  Many of which are overridden or
 extended. The following methods are inherited unchanged. View the
-[LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent) documentation for their implementation descriptions.
+[LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent) documentation for their implementation descriptions.
 
 This is not meant to be an inclusive list.  LWP::UA may have added
 others.
 
 ## $mech->head()
 
-Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).
+Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).
 
 ## $mech->mirror()
 
-Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).
+Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).
 
 ## $mech->simple\_request()
 
-Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).
+Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).
 
 ## $mech->is\_protocol\_supported()
 
-Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).
+Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).
 
 ## $mech->prepare\_request()
 
-Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).
+Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).
 
 ## $mech->progress()
 
-Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).
+Inherited from [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).
 
 # INTERNAL-ONLY METHODS
 
@@ -1518,16 +1518,16 @@ to do that.
 
 ## $mech->\_modify\_request( $req )
 
-Modifies a [HTTP::Request](https://metacpan.org/pod/HTTP%3A%3ARequest) before the request is sent out,
+Modifies a [HTTP::Request](https://metacpan.org/pod/HTTP::Request) before the request is sent out,
 for both GET and POST requests.
 
 We add a `Referer` header, as well as header to note that we can accept gzip
-encoded content, if [Compress::Zlib](https://metacpan.org/pod/Compress%3A%3AZlib) is installed.
+encoded content, if [Compress::Zlib](https://metacpan.org/pod/Compress::Zlib) is installed.
 
 ## $mech->\_make\_request()
 
 Convenience method to make it easier for subclasses like
-[WWW::Mechanize::Cached](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ACached) to intercept the request.
+[WWW::Mechanize::Cached](https://metacpan.org/pod/WWW::Mechanize::Cached) to intercept the request.
 
 ## $mech->\_reset\_page()
 
@@ -1536,7 +1536,7 @@ Resets the internal fields that track pa
 ## $mech->\_extract\_links()
 
 Extracts links from the content of a webpage, and populates the `{links}`
-property with [WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) objects.
+property with [WWW::Mechanize::Link](https://metacpan.org/pod/WWW::Mechanize::Link) objects.
 
 ## $mech->\_push\_page\_stack()
 
@@ -1575,10 +1575,10 @@ you can change in order to make your lif
 
 - cookie\_jar
 
-    You are encouraged to install [Mozilla::PublicSuffix](https://metacpan.org/pod/Mozilla%3A%3APublicSuffix) and use
-    [HTTP::CookieJar::LWP](https://metacpan.org/pod/HTTP%3A%3ACookieJar%3A%3ALWP) as your cookie jar.  [HTTP::CookieJar::LWP](https://metacpan.org/pod/HTTP%3A%3ACookieJar%3A%3ALWP) provides a
+    You are encouraged to install [Mozilla::PublicSuffix](https://metacpan.org/pod/Mozilla::PublicSuffix) and use
+    [HTTP::CookieJar::LWP](https://metacpan.org/pod/HTTP::CookieJar::LWP) as your cookie jar.  [HTTP::CookieJar::LWP](https://metacpan.org/pod/HTTP::CookieJar::LWP) provides a
     better security model matching that of current Web browsers when
-    [Mozilla::PublicSuffix](https://metacpan.org/pod/Mozilla%3A%3APublicSuffix) is installed.
+    [Mozilla::PublicSuffix](https://metacpan.org/pod/Mozilla::PublicSuffix) is installed.
 
         use HTTP::CookieJar::LWP ();
 
@@ -1587,7 +1587,7 @@ you can change in order to make your lif
 
 - protocols\_allowed
 
-    This option is inherited directly from [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).  It may be used to
+    This option is inherited directly from [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).  It may be used to
     allow arbitrary protocols.
 
         my $agent = WWW::Mechanize->new(
@@ -1599,7 +1599,7 @@ you can change in order to make your lif
 
 - protocols\_forbidden
 
-    This option is also inherited directly from [LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent).  It may be used
+    This option is also inherited directly from [LWP::UserAgent](https://metacpan.org/pod/LWP::UserAgent).  It may be used
     to deny arbitrary protocols.
 
         my $agent = WWW::Mechanize->new(
@@ -1669,7 +1669,7 @@ The book was also positively reviewed on
     [http://perlmonks.org](http://perlmonks.org) is an excellent community of support, and
     many questions about Mech have already been answered there.
 
-- [WWW::Mechanize::Examples](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AExamples)
+- [WWW::Mechanize::Examples](https://metacpan.org/pod/WWW::Mechanize::Examples)
 
     A random array of examples submitted by users, included with the
     Mechanize distribution.
@@ -1715,35 +1715,35 @@ The book was also positively reviewed on
 
 - [http://www.linux-magazin.de/ausgaben/2004/03/datenruessel/](http://www.linux-magazin.de/ausgaben/2004/03/datenruessel/)
 
-    Michael Schilli's article on Mech and [WWW::Mechanize::Shell](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AShell) for the
+    Michael Schilli's article on Mech and [WWW::Mechanize::Shell](https://metacpan.org/pod/WWW::Mechanize::Shell) for the
     German magazine _Linux Magazin_.
 
 ## Other modules that use Mechanize
 
 Here are modules that use or subclass Mechanize.  Let me know of any others:
 
-- [Finance::Bank::LloydsTSB](https://metacpan.org/pod/Finance%3A%3ABank%3A%3ALloydsTSB)
-- [HTTP::Recorder](https://metacpan.org/pod/HTTP%3A%3ARecorder)
+- [Finance::Bank::LloydsTSB](https://metacpan.org/pod/Finance::Bank::LloydsTSB)
+- [HTTP::Recorder](https://metacpan.org/pod/HTTP::Recorder)
 
     Acts as a proxy for web interaction, and then generates WWW::Mechanize scripts.
 
-- [Win32::IE::Mechanize](https://metacpan.org/pod/Win32%3A%3AIE%3A%3AMechanize)
+- [Win32::IE::Mechanize](https://metacpan.org/pod/Win32::IE::Mechanize)
 
     Just like Mech, but using Microsoft Internet Explorer to do the work.
 
-- [WWW::Bugzilla](https://metacpan.org/pod/WWW%3A%3ABugzilla)
-- [WWW::Google::Groups](https://metacpan.org/pod/WWW%3A%3AGoogle%3A%3AGroups)
-- [WWW::Hotmail](https://metacpan.org/pod/WWW%3A%3AHotmail)
-- [WWW::Mechanize::Cached](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ACached)
-- [WWW::Mechanize::Cached::GZip](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ACached%3A%3AGZip)
-- [WWW::Mechanize::FormFiller](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AFormFiller)
-- [WWW::Mechanize::Shell](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AShell)
-- [WWW::Mechanize::Sleepy](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ASleepy)
-- [WWW::Mechanize::SpamCop](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ASpamCop)
-- [WWW::Mechanize::Timed](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ATimed)
-- [WWW::SourceForge](https://metacpan.org/pod/WWW%3A%3ASourceForge)
-- [WWW::Yahoo::Groups](https://metacpan.org/pod/WWW%3A%3AYahoo%3A%3AGroups)
-- [WWW::Scripter](https://metacpan.org/pod/WWW%3A%3AScripter)
+- [WWW::Bugzilla](https://metacpan.org/pod/WWW::Bugzilla)
+- [WWW::Google::Groups](https://metacpan.org/pod/WWW::Google::Groups)
+- [WWW::Hotmail](https://metacpan.org/pod/WWW::Hotmail)
+- [WWW::Mechanize::Cached](https://metacpan.org/pod/WWW::Mechanize::Cached)
+- [WWW::Mechanize::Cached::GZip](https://metacpan.org/pod/WWW::Mechanize::Cached::GZip)
+- [WWW::Mechanize::FormFiller](https://metacpan.org/pod/WWW::Mechanize::FormFiller)
+- [WWW::Mechanize::Shell](https://metacpan.org/pod/WWW::Mechanize::Shell)
+- [WWW::Mechanize::Sleepy](https://metacpan.org/pod/WWW::Mechanize::Sleepy)
+- [WWW::Mechanize::SpamCop](https://metacpan.org/pod/WWW::Mechanize::SpamCop)
+- [WWW::Mechanize::Timed](https://metacpan.org/pod/WWW::Mechanize::Timed)
+- [WWW::SourceForge](https://metacpan.org/pod/WWW::SourceForge)
+- [WWW::Yahoo::Groups](https://metacpan.org/pod/WWW::Yahoo::Groups)
+- [WWW::Scripter](https://metacpan.org/pod/WWW::Scripter)
 
 # ACKNOWLEDGEMENTS
 
diff -pruN 2.12-1/script/mech-dump 2.13-1/script/mech-dump
--- 2.12-1/script/mech-dump	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/script/mech-dump	2022-07-29 09:44:58.000000000 +0000
@@ -62,9 +62,11 @@ else {
 
 $mech->env_proxy();
 foreach my $uri (@uris) {
+  my $no_ct_check;
   if ( -e $uri ) {
       require URI::file;
       $uri = URI::file->new_abs( $uri )->as_string;
+      $no_ct_check = 1; # we don't have to check the content type
   }
 
   my $response = $mech->get( $uri );
@@ -76,7 +78,10 @@ foreach my $uri (@uris) {
       $response = $mech->get( $uri );
       $response->is_success or die "Can't fetch $uri with username and password\n", $response->status_line, "\n";
   }
-  $mech->is_html or die qq{$uri returns type "}, $mech->ct, qq{", not "text/html"\n};
+
+  unless ($no_ct_check) {
+      $mech->is_html or die qq{$uri returns type "}, $mech->ct, qq{", not "text/html"\n};
+  }
 
   foreach my $action (@actions ) {
       $action->( $mech );
@@ -131,7 +136,7 @@ mech-dump - Dumps information about a we
 
 =head1 VERSION
 
-version 2.12
+version 2.13
 
 =head1 SYNOPSIS
 
@@ -168,6 +173,10 @@ Options:
 The order of the options specified is relevant.  Repeated options
 get repeated dumps.
 
+C<mech-dump> will only work on HTML documents when used on remote URLs, but
+will assume any local file you pass it is HTML. If it is not, there won't be
+any usable results.
+
 Proxy settings are specified through the environment (e.g. C<http_proxy=http://proxy.my.place/>).
 See L<LWP::UserAgent> for details.
 
diff -pruN 2.12-1/t/00-load.t 2.13-1/t/00-load.t
--- 2.12-1/t/00-load.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/00-load.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 use lib 't';
 use Test::More tests => 2;
-use Tools;
+use Tools qw( $canTMC );
 
 use_ok( 'WWW::Mechanize' );
 use_ok( 'WWW::Mechanize::Link' );
diff -pruN 2.12-1/t/00-report-prereqs.dd 2.13-1/t/00-report-prereqs.dd
--- 2.12-1/t/00-report-prereqs.dd	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/00-report-prereqs.dd	2022-07-29 09:44:58.000000000 +0000
@@ -51,7 +51,7 @@ do { my $x = {
                                       'HTTP::Cookies' => '0',
                                       'HTTP::Request' => '1.30',
                                       'HTTP::Request::Common' => '0',
-                                      'LWP::UserAgent' => '6.45',
+                                      'LWP::UserAgent' => '0',
                                       'Pod::Usage' => '0',
                                       'Scalar::Util' => '1.14',
                                       'Tie::RefHash' => '0',
@@ -74,7 +74,6 @@ do { my $x = {
                                    'File::Temp' => '0',
                                    'FindBin' => '0',
                                    'HTTP::Daemon' => '6.12',
-                                   'HTTP::Response' => '0',
                                    'LWP' => '0',
                                    'LWP::Simple' => '0',
                                    'Path::Tiny' => '0',
diff -pruN 2.12-1/t/area_link.t 2.13-1/t/area_link.t
--- 2.12-1/t/area_link.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/area_link.t	2022-07-29 09:44:58.000000000 +0000
@@ -8,14 +8,14 @@ use Test::More tests => 9;
 use lib 't';
 
 BEGIN {
-    use Tools;
+    use Tools qw( $canTMC memory_cycle_ok );
 }
 
 BEGIN {
     use_ok( 'WWW::Mechanize' );
 }
 
-use URI::file;
+use URI::file ();
 
 my $mech = WWW::Mechanize->new( cookie_jar => undef );
 isa_ok( $mech, 'WWW::Mechanize' );
diff -pruN 2.12-1/t/bad-request.t 2.13-1/t/bad-request.t
--- 2.12-1/t/bad-request.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/bad-request.t	2022-07-29 09:44:58.000000000 +0000
@@ -19,7 +19,7 @@ parameter.
 
 =cut
 
-use WWW::Mechanize;
+use WWW::Mechanize ();
 
 my $mech = WWW::Mechanize->new();
 
diff -pruN 2.12-1/t/content.t 2.13-1/t/content.t
--- 2.12-1/t/content.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/content.t	2022-07-29 09:44:58.000000000 +0000
@@ -1,6 +1,7 @@
 use warnings;
 use strict;
-use Test::More tests => 9;
+use Test::More;
+use Test::Exception;
 
 =head1 NAME
 
@@ -51,6 +52,8 @@ SKIP: {
     unlike( $text, qr/html/i, 'Could not find "html"' );
 }
 
+dies_ok { $mech->content(format => 'no_such_format' ) } 'Unkown format';
+
 =head2 $mech->content(base_href => undef)
 
 =head2 $mech->content(base_href => $basehref)
@@ -79,6 +82,10 @@ is($content, 'this is a slightly decoded
 $content = $mech->content(charset => 'whatever');
 is($content, 'this is charset whatever', 'charset => ...');
 
+dies_ok { $mech->content(unhandled => 'param') } 'unhandled param';
+
+done_testing;
+
 package Test::MockResponse;
 
 sub new {
diff -pruN 2.12-1/t/cookies.t 2.13-1/t/cookies.t
--- 2.12-1/t/cookies.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/cookies.t	2022-07-29 09:44:58.000000000 +0000
@@ -13,11 +13,11 @@ else {
     plan tests => 14;
 }
 
-use WWW::Mechanize;
-use URI::Escape qw( uri_unescape uri_escape );
+use WWW::Mechanize ();
+use URI::Escape qw( uri_escape uri_unescape );
 
 use lib 't/';
-use TestServer;
+use TestServer ();
 
 my $ncookies = 0;
 
diff -pruN 2.12-1/t/credentials-api.t 2.13-1/t/credentials-api.t
--- 2.12-1/t/credentials-api.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/credentials-api.t	2022-07-29 09:44:58.000000000 +0000
@@ -2,9 +2,9 @@ use strict;
 use warnings;
 
 use Test::More tests => 4;
-use LWP::UserAgent;
-use WWW::Mechanize;
-use URI;
+use LWP::UserAgent ();
+use WWW::Mechanize ();
+use URI ();
 
 =pod
 
diff -pruN 2.12-1/t/credentials.t 2.13-1/t/credentials.t
--- 2.12-1/t/credentials.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/credentials.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,8 +3,9 @@
 use warnings;
 use strict;
 
-use WWW::Mechanize;
-use Test::More tests => 14;
+use WWW::Mechanize ();
+use Test::More;
+use Test::Fatal qw( exception );
 
 my $mech = WWW::Mechanize->new;
 isa_ok( $mech, 'WWW::Mechanize' );
@@ -17,6 +18,13 @@ my $uri = URI->new( 'http://localhost' )
 is $user, undef, 'default username is undefined at first';
 is $pass, undef, 'default password is undefined at first';
 
+like(
+    exception {
+        $mech->credentials("one", "two", "three");
+    },
+    qr/Invalid # of args for overridden credentials/,
+    'credentials dies with wrong number of args'
+);
 
 $mech->credentials("username", "password");
 
@@ -52,3 +60,5 @@ is $user, 'username',
    'cloned object still has username for get_basic_credentials';
 is $pass, 'password',
    'cloned object still has password for get_basic_credentials';
+
+done_testing;
\ No newline at end of file
diff -pruN 2.12-1/t/field.html 2.13-1/t/field.html
--- 2.12-1/t/field.html	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/field.html	2022-07-29 09:44:58.000000000 +0000
@@ -13,6 +13,7 @@
 <input type="hidden" name="__value" value>
 <input type="hidden" name="__value_empty" value="">
 <input type="hidden" name="__value_full" value="full">
+<textarea rows="5" cols="60" id="textarea_id" name="textarea_name"></textarea>
 </FORM>
 </BODY>
 </HTML>
diff -pruN 2.12-1/t/field.t 2.13-1/t/field.t
--- 2.12-1/t/field.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/field.t	2022-07-29 09:44:58.000000000 +0000
@@ -2,8 +2,9 @@
 
 use warnings;
 use strict;
-use Test::More tests => 14;
-use URI::file;
+
+use Test::More;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; # Placates taint-unsafe Cwd.pm in 5.6.1
@@ -29,6 +30,10 @@ $mech->set_visible( [ radio => 'wongo!'
 is( $mech->value( 'wango' ), 'wongo!', 'wango changed' );
 is( $mech->value( 'dingo', 2 ), 'boingo', 'dingo changed' );
 
+ok( ! $mech->value( 'textarea_name' ), 'textarea is empty' );
+$mech->field( 'textarea_name' => 'foobar' );
+is( $mech->value( 'textarea_name' ), 'foobar', 'textarea has been populated' );
+
 for my $name (qw/__no_value __value_empty/) {
     ok( ! $mech->value( $name ), "$name is empty" ) or diag $mech->field($name);
     $mech->field( $name, 'foo');
@@ -42,4 +47,6 @@ for my $name (qw/__value/) {
     }
     $mech->field( $name, 'foo');
     is( $mech->value( $name ), 'foo', "$name changed" );
-}
\ No newline at end of file
+}
+
+done_testing;
diff -pruN 2.12-1/t/find_frame.t 2.13-1/t/find_frame.t
--- 2.12-1/t/find_frame.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/find_frame.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 use Test::More tests => 5;
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/find_image.t 2.13-1/t/find_image.t
--- 2.12-1/t/find_image.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/find_image.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,10 +4,10 @@ use warnings;
 use strict;
 
 use Test::More;
-use Test::Fatal;
+use Test::Fatal qw( exception );
 use Test::Warnings ':all';
-use Test::Deep;
-use URI::file;
+use Test::Deep qw( all cmp_deeply isa methods re superhashof );
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/find_inputs.t 2.13-1/t/find_inputs.t
--- 2.12-1/t/find_inputs.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/find_inputs.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 
 use Test::More tests => 11;
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/find_link_id.t 2.13-1/t/find_link_id.t
--- 2.12-1/t/find_link_id.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/find_link_id.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 use Test::More 'no_plan';
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/find_link_xhtml.t 2.13-1/t/find_link_xhtml.t
--- 2.12-1/t/find_link_xhtml.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/find_link_xhtml.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 
 use Test::More;
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/form-parsing.t 2.13-1/t/form-parsing.t
--- 2.12-1/t/form-parsing.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/form-parsing.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 use Test::More tests=>1;
-use HTML::Form;
+use HTML::Form ();
 
 my $base = 'http://localhost/';
 my $content = do { local $/ = undef; <DATA> };
diff -pruN 2.12-1/t/form_with_fields.html 2.13-1/t/form_with_fields.html
--- 2.12-1/t/form_with_fields.html	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/form_with_fields.html	2022-07-29 09:44:58.000000000 +0000
@@ -48,7 +48,7 @@
     <input type="hidden" name="5e" value="value" />
 </form>
 
-<form action="http://localhost/" method="post" name="6th_form">
+<form action="http://localhost/" method="post" name="6th_form" id="6th_form">
     <select name="select">
         <option value="one">Option 1</option>
         <option value="two">Option 2</option>
diff -pruN 2.12-1/t/form_with_fields_passthrough_params.t 2.13-1/t/form_with_fields_passthrough_params.t
--- 2.12-1/t/form_with_fields_passthrough_params.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/form_with_fields_passthrough_params.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,9 +3,9 @@
 use warnings;
 use strict;
 use Test::More 'no_plan';
-use Test::Fatal;
+use Test::Fatal qw( exception );
 use Test::Warnings ':all';
-use Test::Deep;
+use Test::Deep qw( cmp_deeply re );
 use URI::file ();
 
 BEGIN {
diff -pruN 2.12-1/t/form_with_fields.t 2.13-1/t/form_with_fields.t
--- 2.12-1/t/form_with_fields.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/form_with_fields.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,9 +3,9 @@
 use warnings;
 use strict;
 use Test::More 'no_plan';
-use Test::Fatal;
+use Test::Fatal qw( exception );
 use Test::Warnings ':all';
-use Test::Deep;
+use Test::Deep qw( cmp_deeply re );
 use URI::file ();
 
 BEGIN {
diff -pruN 2.12-1/t/frames.t 2.13-1/t/frames.t
--- 2.12-1/t/frames.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/frames.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 use Test::More tests => 7;
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/history.t 2.13-1/t/history.t
--- 2.12-1/t/history.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/history.t	2022-07-29 09:44:58.000000000 +0000
@@ -7,8 +7,8 @@ use lib qw( t/local );
 
 use LocalServer ();
 use Path::Tiny qw( path );
-use Test::Deep;
-use Test::Fatal;
+use Test::Deep qw( all cmp_deeply isa methods re );
+use Test::Fatal qw( exception );
 use Test::More;
 use URI::file ();
 use WWW::Mechanize ();
diff -pruN 2.12-1/t/html_file.txt 2.13-1/t/html_file.txt
--- 2.12-1/t/html_file.txt	1970-01-01 00:00:00.000000000 +0000
+++ 2.13-1/t/html_file.txt	2022-07-29 09:44:58.000000000 +0000
@@ -0,0 +1,7 @@
+<html>
+    <body>
+        <form name="text-form" action="http://localhost">
+            <input type="text" name="one" />
+        </form>
+    </body>
+</html>
\ No newline at end of file
diff -pruN 2.12-1/t/image-parse.t 2.13-1/t/image-parse.t
--- 2.12-1/t/image-parse.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/image-parse.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 
 use Test::More tests => 47;
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/link-relative.t 2.13-1/t/link-relative.t
--- 2.12-1/t/link-relative.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/link-relative.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 
 use Test::More tests => 6;
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/local/back.t 2.13-1/t/local/back.t
--- 2.12-1/t/local/back.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/back.t	2022-07-29 09:44:58.000000000 +0000
@@ -2,8 +2,7 @@ use warnings;
 use strict;
 use Test::More tests => 47;
 use lib qw( t t/local );
-use LocalServer;
-use HTTP::Response;
+use LocalServer ();
 
 
 =head1 NAME
@@ -16,7 +15,7 @@ and subsequently enriched to deal with R
 =cut
 
 BEGIN {
-    use Tools;
+    use Tools qw( $canTMC memory_cycle_ok );
 }
 
 BEGIN {
diff -pruN 2.12-1/t/local/click_button.t 2.13-1/t/local/click_button.t
--- 2.12-1/t/local/click_button.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/click_button.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@ use strict;
 
 use lib 't/local';
 
-use LocalServer;
+use LocalServer ();
 use Test::More 0.96;
 use Test::Exception;
 
@@ -18,6 +18,8 @@ isa_ok( $mech, 'WWW::Mechanize', 'Create
 my $server = LocalServer->spawn();
 isa_ok( $server, 'LocalServer' );
 
+dies_ok { $mech->click_button( id => 0 ) } 'Dies without a form';
+
 my $response = $mech->get( $server->url );
 isa_ok( $response, 'HTTP::Response', 'Got back a response' );
 ok( $response->is_success, 'Got URL' ) or die q{Can't even fetch local url};
diff -pruN 2.12-1/t/local/click.t 2.13-1/t/local/click.t
--- 2.12-1/t/local/click.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/click.t	2022-07-29 09:44:58.000000000 +0000
@@ -1,7 +1,7 @@
 use warnings;
 use strict;
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 use Test::More tests => 9;
 
 BEGIN {
diff -pruN 2.12-1/t/local/content.t 2.13-1/t/local/content.t
--- 2.12-1/t/local/content.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/content.t	2022-07-29 09:44:58.000000000 +0000
@@ -1,7 +1,7 @@
 use warnings;
 use strict;
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 use Test::More tests => 10;
 
 BEGIN {
diff -pruN 2.12-1/t/local/encoding.t 2.13-1/t/local/encoding.t
--- 2.12-1/t/local/encoding.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/encoding.t	2022-07-29 09:44:58.000000000 +0000
@@ -2,7 +2,7 @@ use warnings;
 use strict;
 use Test::More tests => 6;
 use lib qw( t/local );
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
     delete @ENV{qw( IFS CDPATH ENV BASH_ENV )};
diff -pruN 2.12-1/t/local/failure.t 2.13-1/t/local/failure.t
--- 2.12-1/t/local/failure.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/failure.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@ use strict;
 use Test::More;
 
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 
 
 BEGIN {
diff -pruN 2.12-1/t/local/follow.t 2.13-1/t/local/follow.t
--- 2.12-1/t/local/follow.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/follow.t	2022-07-29 09:44:58.000000000 +0000
@@ -1,8 +1,9 @@
 use warnings;
 use strict;
-use Test::More tests => 28;
+use Test::More;
+use Test::Exception;
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
     delete @ENV{ qw( IFS CDPATH ENV BASH_ENV ) };
@@ -60,3 +61,6 @@ is( $agent->uri, $server->url, 'Needs to
 eval {$agent->follow_link( '/foo' )};
 like($@, qr/Needs to get key-value pairs of parameters.*follow\.t/, "Invalid parameter passing gets better error message");
 
+dies_ok { WWW::Mechanize->new->follow_link( url => '/404' ) } "dies when link does not exist with autocheck";
+
+done_testing;
\ No newline at end of file
diff -pruN 2.12-1/t/local/form.t 2.13-1/t/local/form.t
--- 2.12-1/t/local/form.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/form.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@ use strict;
 use Test::More;
 
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
     delete @ENV{qw( IFS CDPATH ENV BASH_ENV )};
diff -pruN 2.12-1/t/local/get.t 2.13-1/t/local/get.t
--- 2.12-1/t/local/get.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/get.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,10 +3,10 @@ use strict;
 use Test::More tests => 34;
 
 use lib qw( t t/local );
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
-    use Tools;
+    use Tools qw( $canTMC memory_cycle_ok );
 }
 
 BEGIN {
diff -pruN 2.12-1/t/local/head.t 2.13-1/t/local/head.t
--- 2.12-1/t/local/head.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/head.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@ use strict;
 use Test::More;
 
 use lib qw( t t/local );
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
     delete @ENV{ qw( IFS CDPATH ENV BASH_ENV ) };
diff -pruN 2.12-1/t/local/LocalServer.pm 2.13-1/t/local/LocalServer.pm
--- 2.12-1/t/local/LocalServer.pm	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/LocalServer.pm	2022-07-29 09:44:58.000000000 +0000
@@ -12,11 +12,11 @@ BEGIN {
   )};
 }
 
-use Carp qw(carp croak);
+use Carp qw( carp croak );
 use File::Temp ();
 use LWP::Simple qw( get );
 use Path::Tiny qw( path );
-use URI::URL qw();
+use URI::URL ();
 
 =head1 SYNOPSIS
 
diff -pruN 2.12-1/t/local/nonascii.t 2.13-1/t/local/nonascii.t
--- 2.12-1/t/local/nonascii.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/nonascii.t	2022-07-29 09:44:58.000000000 +0000
@@ -2,7 +2,7 @@ use warnings;
 use strict;
 use Test::More tests => 5;
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
     delete @ENV{ qw( IFS CDPATH ENV BASH_ENV ) };
diff -pruN 2.12-1/t/local/overload.t 2.13-1/t/local/overload.t
--- 2.12-1/t/local/overload.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/overload.t	2022-07-29 09:44:58.000000000 +0000
@@ -2,7 +2,7 @@ use Test::More skip_all => "Mysteriously
 use warnings;
 use strict;
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 use Test::More tests => 11;
 
 =head1 NAME
diff -pruN 2.12-1/t/local/page_stack.t 2.13-1/t/local/page_stack.t
--- 2.12-1/t/local/page_stack.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/page_stack.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@ use strict;
 use Test::More;
 
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
     delete @ENV{ qw( IFS CDPATH ENV BASH_ENV ) };
diff -pruN 2.12-1/t/local/post.t 2.13-1/t/local/post.t
--- 2.12-1/t/local/post.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/post.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,11 +3,7 @@ use strict;
 use Test::More tests => 5;
 
 use lib qw( t t/local );
-use LocalServer;
-
-BEGIN {
-    use Tools;
-}
+use LocalServer ();
 
 BEGIN {
     delete @ENV{ qw( IFS CDPATH ENV BASH_ENV ) };
diff -pruN 2.12-1/t/local/referer.t 2.13-1/t/local/referer.t
--- 2.12-1/t/local/referer.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/referer.t	2022-07-29 09:44:58.000000000 +0000
@@ -1,12 +1,12 @@
 use warnings;
 use strict;
-use FindBin;
+use FindBin ();
 
 use Test::More tests => 14;
 
 BEGIN {
     use lib 't';
-    use Tools;
+    use Tools qw( $canTMC memory_cycle_ok );
 }
 
 BEGIN {
diff -pruN 2.12-1/t/local/reload.t 2.13-1/t/local/reload.t
--- 2.12-1/t/local/reload.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/reload.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,10 +3,10 @@ use strict;
 use Test::More tests => 15;
 
 use lib qw( t t/local );
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
-    use Tools;
+    use Tools qw( $canTMC memory_cycle_ok );
 }
 
 BEGIN {
diff -pruN 2.12-1/t/local/select_multiple.t 2.13-1/t/local/select_multiple.t
--- 2.12-1/t/local/select_multiple.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/select_multiple.t	2022-07-29 09:44:58.000000000 +0000
@@ -1,9 +1,10 @@
 use warnings;
 use strict;
 use Test::More;
+use Test::Exception;
 
 use lib 't/local';
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
     use_ok( 'WWW::Mechanize' );
@@ -34,6 +35,9 @@ HTML
 my $server = LocalServer->spawn( html => $html );
 isa_ok( $server, "LocalServer" );
 
+dies_ok { $mech->submit_form( form_number => 1, fields => { none => 0 } ) }
+'Dies without a form';
+
 $mech->get($server->url);
 ok( $mech->success, 'Fetched OK' );
 
diff -pruN 2.12-1/t/local/submit.t 2.13-1/t/local/submit.t
--- 2.12-1/t/local/submit.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/local/submit.t	2022-07-29 09:44:58.000000000 +0000
@@ -2,10 +2,10 @@ use warnings;
 use strict;
 use lib qw( t t/local );
 use Test::More tests => 13;
-use LocalServer;
+use LocalServer ();
 
 BEGIN {
-    use Tools;
+    use Tools qw( $canTMC memory_cycle_ok );
 }
 
 BEGIN {
diff -pruN 2.12-1/t/mech-dump/mech-dump.t 2.13-1/t/mech-dump/mech-dump.t
--- 2.12-1/t/mech-dump/mech-dump.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/mech-dump/mech-dump.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,8 +4,8 @@ use warnings;
 use strict;
 
 use Test::More;
-use File::Spec;
-use LWP;
+use File::Spec ();
+use LWP ();
 
 BEGIN {
     delete @ENV{ qw( IFS CDPATH ENV BASH_ENV PATH ) };
@@ -21,11 +21,11 @@ if ( $^O eq 'VMS' ) {
 
 # Simply use a file: uri instead of the filename to make this test
 # more independent of what URI::* thinks.
-my $source = 'file:t/google.html t/find_inputs.html';
+my $source = 'file:t/google.html t/find_inputs.html t/html_file.txt';
 
 my $perl;
 $perl = $1 if $^X =~ /^(.+)$/;
-my $command = "$perl -Ilib $exe --forms $source";
+my $command = "$perl -Ilib $exe --forms --images --links $source";
 
 my $actual = `$command`;
 
@@ -40,6 +40,23 @@ GET file:/target-page [bob-the-form]
   btnG=Google Search              (submit)
   btnI=I'm Feeling Lucky          (submit)
 
+
+/images/logo.gif
+
+
+/imghp?hl=en&tab=wi&ie=UTF-8
+/grphp?hl=en&tab=wg&ie=UTF-8
+/dirhp?hl=en&tab=wd&ie=UTF-8
+/nwshp?hl=en&tab=wn&ie=UTF-8
+/advanced_search?hl=en
+/preferences?hl=en
+/language_tools?hl=en
+/tour/services/query.html
+/ads/
+/services/
+/options/
+/about.html
+
 POST http://localhost/ (multipart/form-data) [1st_form]
   1a=                            (text)
   submit1=Submit                 (image)
@@ -57,6 +74,9 @@ POST http://localhost/ [3rd_form]
   YourSister=                    (text)
   YourSister=                    (text)
   submit=Submit                  (submit)
+
+GET http://localhost [text-form]
+  one=                           (text)
 EOF
 } else {
     $expected = <<'EOF';
@@ -68,6 +88,23 @@ GET file:/target-page [bob-the-form]
   btnG=Google Search             (submit)
   btnI=I'm Feeling Lucky         (submit)
 
+
+/images/logo.gif
+
+
+/imghp?hl=en&tab=wi&ie=UTF-8
+/grphp?hl=en&tab=wg&ie=UTF-8
+/dirhp?hl=en&tab=wd&ie=UTF-8
+/nwshp?hl=en&tab=wn&ie=UTF-8
+/advanced_search?hl=en
+/preferences?hl=en
+/language_tools?hl=en
+/tour/services/query.html
+/ads/
+/services/
+/options/
+/about.html
+
 POST http://localhost/ (multipart/form-data) [1st_form]
   1a=                            (text)
   submit1=Submit                 (image)
@@ -85,6 +122,9 @@ POST http://localhost/ [3rd_form]
   YourSister=                    (text)
   YourSister=                    (text)
   submit=Submit                  (submit)
+
+GET http://localhost [text-form]
+  one=                           (text)
 EOF
 }
 
diff -pruN 2.12-1/t/regex-error.t 2.13-1/t/regex-error.t
--- 2.12-1/t/regex-error.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/regex-error.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 
 use Test::More;
-use Test::Warn qw( warning_like);
+use Test::Warn qw( warning_like );
 use WWW::Mechanize ();
 
 my $m = WWW::Mechanize->new;
diff -pruN 2.12-1/t/save_content.t 2.13-1/t/save_content.t
--- 2.12-1/t/save_content.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/save_content.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 
 use Test::More tests => 8;
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/select.t 2.13-1/t/select.t
--- 2.12-1/t/select.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/select.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 use Test::More tests => 14;
-use URI::file;
+use URI::file ();
 
 BEGIN {
     delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
diff -pruN 2.12-1/t/submit_form.t 2.13-1/t/submit_form.t
--- 2.12-1/t/submit_form.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/submit_form.t	2022-07-29 09:44:58.000000000 +0000
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 
 use Test::More;
-use Test::Fatal;
+use Test::Fatal qw( exception );
 use Test::Warnings ':all';
 use URI::file      ();
 use WWW::Mechanize ();
@@ -29,6 +29,19 @@ $mech->get($uri);
 
 {
     $mech->get($uri);
+    is(
+        exception {
+            $mech->submit_form(
+                form_id => '6th_form',
+            );
+        },
+        undef,
+        'submit_form with valid form_id',
+    );
+}
+
+{
+    $mech->get($uri);
     like(
         exception {
             $mech->submit_form(
@@ -91,4 +104,17 @@ $mech->get($uri);
     );
 }
 
+{
+    $mech->get($uri);
+    like(
+        exception {
+            $mech->submit_form(
+                with_fields => {}, # left empty on purpose
+            )
+        },
+        qr/no fields provided/,
+        'submit_form with no fields',
+    );
+}
+
 done_testing();
diff -pruN 2.12-1/t/TestServer.pm 2.13-1/t/TestServer.pm
--- 2.12-1/t/TestServer.pm	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/TestServer.pm	2022-07-29 09:44:58.000000000 +0000
@@ -2,8 +2,8 @@ package TestServer;
 use strict;
 use warnings;
 
-use HTTP::Daemon;
-use File::Spec;
+use HTTP::Daemon ();
+use File::Spec ();
 
 sub new {
     my $class = shift;
diff -pruN 2.12-1/t/tick.t 2.13-1/t/tick.t
--- 2.12-1/t/tick.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/tick.t	2022-07-29 09:44:58.000000000 +0000
@@ -5,7 +5,7 @@ use strict;
 
 use Test::Fatal qw( exception );
 use Test::More;
-use URI::file;
+use URI::file ();
 
 delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};  # Placates taint-unsafe Cwd.pm in 5.6.1
 use_ok( 'WWW::Mechanize' );
diff -pruN 2.12-1/t/untaint.t 2.13-1/t/untaint.t
--- 2.12-1/t/untaint.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/untaint.t	2022-07-29 09:44:58.000000000 +0000
@@ -1,6 +1,6 @@
 use strict;
 use warnings;
-use URI::file;
+use URI::file ();
 
 use Test::More;
 
diff -pruN 2.12-1/t/upload.t 2.13-1/t/upload.t
--- 2.12-1/t/upload.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/t/upload.t	2022-07-29 09:44:58.000000000 +0000
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 use Test::More tests => 5;
-use URI::file;
+use URI::file ();
 
 BEGIN { delete @ENV{ qw( http_proxy HTTP_PROXY PATH IFS CDPATH ENV BASH_ENV) }; }
 use_ok( 'WWW::Mechanize' );
diff -pruN 2.12-1/xt/author/eol.t 2.13-1/xt/author/eol.t
--- 2.12-1/xt/author/eol.t	2022-07-20 06:45:51.000000000 +0000
+++ 2.13-1/xt/author/eol.t	2022-07-29 09:44:58.000000000 +0000
@@ -59,6 +59,7 @@ my @files = (
     't/history_1.html',
     't/history_2.html',
     't/history_3.html',
+    't/html_file.txt',
     't/image-new.t',
     't/image-parse.css',
     't/image-parse.html',
