a5c001ad00
Changes from previous: 1.34 Tue Jul 5 16:23:24 CDT 2011 ------------------------------------ [ENHANCEMENTS] Added $mech->lacks_uncapped_inputs() to check for <input> tags that don't have a maxlength attribute. We've been using this for years at work, and I'm just now moving it into Test::WWW::Mechanize. Added $mech->grep_inputs() and $mech->grep_submits() to easily pull input fields from the page. I'd like to get this moved up to base WWW::Mechanize, because it has use outside of the Test:: world. $mech->followable_links() now finds file: URLs, too. $mech->content_contains(), $mech->content_lacks(), $mech->text_contains(0 and $mech->text_lacks() all fail if a reference is passed instead of a string. [FIXES] $mech->text_contains() was not calling $mech->text(), so was not taking advantage of the caching of the parsed text. [INTERNALS] Most tests no longer use TestServer.pm class. All tests now run under -T and have plan counts. 1.31_01 Wed May 4 16:07:31 CDT 2011 ------------------------------------ [ENHANCEMENTS] The methods that look at the text of the page, ->text_like() and ->text_unlike(), now use the WWW::Mechanize method ->text() which caches the text. This will be a big speedup if you call these methods more than once. [FIXED]Normalized the use of single vs. double quotes in the default descriptions. Fixed tests that fail under newer versions of LWP. Fixed tests that fail if http_proxy or HTTP_PROXY are set. Fixed tests that fail on Perl 5.14. |
||
---|---|---|
.. | ||
DESCR | ||
distinfo | ||
Makefile |