Weasel::Widgets::HTML::Selectable - Wrapper for selectable elements
Contents
Bugs And Limitations
Bugs can be filed in the GitHub issue tracker for the Weasel project:
https://github.com/perl-weasel/weasel/issues
Contributors
Erik Huelsmann Yves Lavoie
Dependencies
Description
License And Copyright
(C) 2016-2023 Erik Huelsmann
Licensed under the same terms as Perl.
perl v5.40.1 2025-05-24 Weasel::Widgets::HTML::Selectable(3pm)
Maintainers
Erik Huelsmann
Name
Weasel::Widgets::HTML::Selectable - Wrapper for selectable elements
Source
The source code repository for Weasel is at
https://github.com/perl-weasel/weasel
Subroutines/Methods
selected([$value])
Returns selected status of the element. If $value is provided, sets the selected status.
value([$new_value])
Returns the value of the 'value' attribute; when the element is not selected, the 'value' attribute
is overruled to return "false" (an empty string).
Support
Community support is available through perl-weasel@googlegroups.com <mailto:perl-
weasel@googlegroups.com>.
Synopsis
my $selectable = $session->page->find('./option');
$selectable->selected(1); # select option
Version
version 0.32
