NAME

Weasel::Widgets::HTML::Selectable - Wrapper for selectable elements

VERSION

0.01

SYNOPSIS

  my $selectable = $session->page->find('./option');
  $selectable->selected(1);   # select option

DESCRIPTION

DEPENDENCIES

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).

AUTHOR

Erik Huelsmann

CONTRIBUTORS

Erik Huelsmann Yves Lavoie

MAINTAINERS

Erik Huelsmann

BUGS AND LIMITATIONS

Bugs can be filed in the GitHub issue tracker for the Weasel project: https://github.com/perl-weasel/weasel/issues

SOURCE

The source code repository for Weasel is at https://github.com/perl-weasel/weasel

SUPPORT

Community support is available through perl-weasel@googlegroups.com.

LICENSE AND COPYRIGHT

 (C) 2016  Erik Huelsmann

Licensed under the same terms as Perl.