Weasel::FindExpanders::HTML - Weasel FindExpanders HTML
0.02
use Weasel::FindExpanders::HTML; my $button = $session->find($session->page, "@button|{text=>\"whatever\"}");
Finds button tags or input tags of types submit, reset, button and image.
Criteria: * 'id' * 'name' * 'text' -- button: matches content between open and close tag -- input: matches 'value' attribute (shown on button), or image button's 'alt' attribute
Finds input tags of type checkbox
Criteria: * 'id' * 'name' * 'value'
Finds tags containing 'text'
Finds tags for which a label has been set (using the label tag)
Criteria: * 'text': text of the label * 'tag': tags for which the label has been set
Finds A tags with an href attribute whose text or title matches 'text'
Criteria: * 'text'
Finds OPTION tags whose content matches 'text' or value matches 'value'
Criteria: * 'text' * 'value'
Finds input tags of type password
Criteria: * 'id' * 'name'
Finds input tags of type radio
Finds select tags
Finds input tags of type text or without type (which defaults to text)
Erik Huelsmann
Erik Huelsmann Yves Lavoie
Bugs can be filed in the GitHub issue tracker for the Weasel project: https://github.com/perl-weasel/weasel/issues
The source code repository for Weasel is at https://github.com/perl-weasel/weasel
Community support is available through perl-weasel@googlegroups.com.
(C) 2016 Erik Huelsmann
Licensed under the same terms as Perl.
To install Weasel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Weasel
CPAN shell
perl -MCPAN -e shell install Weasel
For more information on module installation, please visit the detailed CPAN module installation guide.