.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Weasel::FindExpanders::HTML 3pm" .TH Weasel::FindExpanders::HTML 3pm "2021-01-10" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Weasel::FindExpanders::HTML \- Weasel FindExpanders HTML .SH "VERSION" .IX Header "VERSION" 0.02 .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& use Weasel::FindExpanders::HTML; \& \& my $button = $session\->find($session\->page, "@button|{text=>\e"whatever\e"}"); .Ve .SH "DEPENDENCIES" .IX Header "DEPENDENCIES" .SH "DESCRIPTION" .IX Header "DESCRIPTION" .SH "SUBROUTINES/METHODS" .IX Header "SUBROUTINES/METHODS" .IP "button_expander" 4 .IX Item "button_expander" Finds button tags or input tags of types submit, reset, button and image. .Sp 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 .IP "checkbox_expander" 4 .IX Item "checkbox_expander" Finds input tags of type checkbox .Sp Criteria: * 'id' * 'name' * 'value' .IP "contains_expander" 4 .IX Item "contains_expander" Finds tags containing 'text' .IP "labeled_expander" 4 .IX Item "labeled_expander" Finds tags for which a label has been set (using the label tag) .Sp Criteria: * 'text': text of the label * 'tag': tags for which the label has been set .IP "link_expander" 4 .IX Item "link_expander" Finds A tags with an href attribute whose text or title matches 'text' .Sp Criteria: * 'text' .IP "option_expander" 4 .IX Item "option_expander" Finds \s-1OPTION\s0 tags whose content matches 'text' or value matches 'value' .Sp Criteria: * 'text' * 'value' .IP "password_expander" 4 .IX Item "password_expander" Finds input tags of type password .Sp Criteria: * 'id' * 'name' .IP "radio_expander" 4 .IX Item "radio_expander" Finds input tags of type radio .Sp Criteria: * 'id' * 'name' * 'value' .IP "select_expander" 4 .IX Item "select_expander" Finds select tags .Sp Criteria: * 'id' * 'name' .IP "text_expander" 4 .IX Item "text_expander" Finds input tags of type text or without type (which defaults to text) .Sp Criteria: * 'id' * 'name' .SH "AUTHOR" .IX Header "AUTHOR" Erik Huelsmann .SH "CONTRIBUTORS" .IX Header "CONTRIBUTORS" Erik Huelsmann Yves Lavoie .SH "MAINTAINERS" .IX Header "MAINTAINERS" Erik Huelsmann .SH "BUGS AND LIMITATIONS" .IX Header "BUGS AND LIMITATIONS" Bugs can be filed in the GitHub issue tracker for the Weasel project: https://github.com/perl\-weasel/weasel/issues .SH "SOURCE" .IX Header "SOURCE" The source code repository for Weasel is at https://github.com/perl\-weasel/weasel .SH "SUPPORT" .IX Header "SUPPORT" Community support is available through perl\-weasel@googlegroups.com . .SH "LICENSE AND COPYRIGHT" .IX Header "LICENSE AND COPYRIGHT" .Vb 1 \& (C) 2016 Erik Huelsmann .Ve .PP Licensed under the same terms as Perl.