HTTP::WebTest::Plugin::Click - Click buttons and links on web page
plugins = ( ::Click ) test_name = Some test click_link = Name of the link end_test test_name = Another test click_button = Name of the button end_test
This plugin lets you use the names of links and buttons on HTML pages to build test requests.
Given name of submit button (i.e. <input type="submit"> tag or <input type="image"> inside of <form> tag) on previously requested HTML page, builds test request to the submitted page.
<input type="submit">
<input type="image">
<form>
Note that you still need to pass all form parameters yourself using params test parameter.
params
See example in HTTP::WebTest::Cookbook.
Given name of link (i.e. <a> tag) on previosly requested HTML page, builds test request to the linked page.
<a>
Give form name attribute (i.e. <form name="foo">) on previously requested HTML page, builds test request to the submitted page.
<form name="foo">
Copyright (c) 2001-2002 Ilya Martynov. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
HTTP::WebTest
HTTP::WebTest::API
HTTP::WebTest::Plugin
HTTP::WebTest::Plugins
To install HTTP::WebTest, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::WebTest
CPAN shell
perl -MCPAN -e shell install HTTP::WebTest
For more information on module installation, please visit the detailed CPAN module installation guide.