Weasel::Widgets::HTML::Selectable - Wrapper for selectable elements
0.01
my $selectable = $session->page->find('./option'); $selectable->selected(1); # select option
Returns selected status of the element. If $value is provided, sets the selected status.
$value
Returns the value of the attribute; when the element is not selected, the 'value' attribute is overruled to return false (an empty string).
false
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.