DOKK / manpages / debian 12 / libweasel-perl / Weasel::Widgets::HTML::Selectable.3pm.en
Weasel::Widgets::HTML::Selectable(3pm) User Contributed Perl Documentation Weasel::Widgets::HTML::Selectable(3pm)

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.
Returns the value of the 'value' attribute; when the element is not selected, the 'value' attribute is overruled to return "false" (an empty string).

Erik Huelsmann

Erik Huelsmann Yves Lavoie

Erik Huelsmann

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 <mailto:perl-weasel@googlegroups.com>.

 (C) 2016  Erik Huelsmann

Licensed under the same terms as Perl.

2021-09-30 perl v5.32.1