NAME¶
Weasel::Widgets::HTML::Selectable - Wrapper for selectable elements
SYNOPSIS¶
my $selectable = $session->page->find('./option');
$selectable->selected(1); # select option
SUBROUTINES/METHODS¶
- selected([$value])
- Returns selected status of the element. If $value
is provided, sets the selected status.
- get_attribute($name)
- Returns the value of the attribute; when the element is not
selected, the 'value' attribute is overruled to return
"false" (an empty string).
CONTRIBUTORS¶
Erik Huelsmann Yves Lavoie
MAINTAINERS¶
Erik Huelsmann
SUPPORT¶
Community support is available through perl-weasel@googlegroups.com
<mailto:perl-weasel@googlegroups.com>.
LICENSE AND COPYRIGHT¶
(C) 2016 Erik Huelsmann
Licensed under the same terms as Perl.