NAME
Weasel::FindExpanders::HTML -
VERSION
0.01
SYNOPSIS
use Weasel::FindExpanders::HTML;
my $button = $session->find($session->page, "@button|{text=>\"whatever\"}");
DESCRIPTION
-
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
- checkbox_expander
-
Finds input tags of type checkbox
Criteria: * 'id' * 'name' * 'value'
- contains_expander
-
Finds tags containing 'text'
- labeled_expander
-
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
- link_expander
-
Finds A tags with an href attribute whose text or title matches 'text'
Criteria: * 'text'
- option_expander
-
Finds OPTION tags whose content matches 'text' or value matches 'value'
Criteria: * 'text' * 'value'
- password_expander
-
Finds input tags of type password
Criteria: * 'id' * 'name'
- radio_expander
-
Finds input tags of type radio
Criteria: * 'id' * 'name'
- select_expander
-
Finds select tags
Criteria: * 'id' * 'name'
- text_expander
-
Finds input tags of type text or without type (which defaults to text)
Criteria: * 'id' * 'name'
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 27:
=over without closing =back