|
@@ -56,25 +56,6 @@ sub click {
|
|
|
return $self->_execute_command($res);
|
|
return $self->_execute_command($res);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-=head2 get_value
|
|
|
|
|
-
|
|
|
|
|
- Description:
|
|
|
|
|
- Query for the value of an element, as determined by its value attribute.
|
|
|
|
|
-
|
|
|
|
|
- Output:
|
|
|
|
|
- {STRING | NULL} The element's value, or null if it does'nt have a value attribute.
|
|
|
|
|
-
|
|
|
|
|
- Usage:
|
|
|
|
|
- $elem->get_value();
|
|
|
|
|
-
|
|
|
|
|
-=cut
|
|
|
|
|
-
|
|
|
|
|
-sub get_value {
|
|
|
|
|
- my ($self) = @_;
|
|
|
|
|
- my $res = { 'command' => 'getElementValue', 'id' => $self->{id} };
|
|
|
|
|
- return $self->_execute_command($res);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
=head2 submit
|
|
=head2 submit
|
|
|
|
|
|
|
|
Description:
|
|
Description:
|
|
@@ -144,6 +125,8 @@ sub is_selected {
|
|
|
Usage:
|
|
Usage:
|
|
|
$elem->set_selected();
|
|
$elem->set_selected();
|
|
|
|
|
|
|
|
|
|
+ Note: DEPRECATED -- use click instead
|
|
|
|
|
+
|
|
|
=cut
|
|
=cut
|
|
|
|
|
|
|
|
sub set_selected {
|
|
sub set_selected {
|
|
@@ -164,6 +147,8 @@ sub set_selected {
|
|
|
Usage:
|
|
Usage:
|
|
|
$elem->toggle();
|
|
$elem->toggle();
|
|
|
|
|
|
|
|
|
|
+ Note: DEPRECATED -- use click instead
|
|
|
|
|
+
|
|
|
=cut
|
|
=cut
|
|
|
|
|
|
|
|
sub toggle {
|
|
sub toggle {
|