Brownie
view release on metacpan or search on metacpan
lib/Brownie/Session.pm view on Meta::CPAN
Finds and clicks specified link.
$session->click_link($locator);
C<$locator>: id or text of link
=item * C<click_button($locator)>
Finds and clicks specified buttons.
$session->click_button($locator);
C<$locator>: id or value of button
=item * C<click_on($locator)>
Finds and clicks specified links or buttons.
$session->click_on($locator);
It combines C<click_link> and C<click_button>.
=item * C<fill_in($locator, $value)>
Sets a value to located field (input or textarea).
$session->fill_in($locator, $value);
=item * C<choose($locator)>
Selects a radio button.
$session->choose($locator);
=item * C<check($locator)>
Sets a checkbox to "checked"
$session->check($locator);
=item * C<uncheck($locator)>
Unsets a checkbox from "checked"
$session->check($locator);
=item * C<select($locator)>
Selects an option.
$session->select($locator);
=item * C<unselect($locator)>
Unselects an option in multiple select.
$session->unselect($locator);
=item * C<attach_file($locator, $filename)>
Sets a path to file upload field.
$session->attach_file($locator, $filename);
=back
=head1 AUTHOR
NAKAGAWA Masaki E<lt>masaki@cpan.orgE<gt>
=head1 LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=head1 SEE ALSO
L<Brownie::Driver>, L<Brownie::Node>
=cut
( run in 2.272 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )