Removing WebElement::hover, to reflect the json wire protocol better. move_to is a direct replacement.
@@ -241,10 +241,6 @@ sub new {
'method' => 'GET',
'url' => "session/:sessionId/element/:id/css/:propertyName"
},
- 'hoverOverElement' => {
- 'method' => 'POST',
- 'url' => "session/:sessionId/element/:id/hover"
- },
'mouseMoveToLocation' => {
'method' => 'POST',
'url' => "session/:sessionId/moveto"
@@ -431,22 +431,6 @@ sub get_css_attribute {
return $self->_execute_command($res);
}
-=head2 hover
-
- Description:
- Move the mouse over an element.
- Usage:
- $elem->hover();
-=cut
-sub hover {
- my ($self) = @_;
- my $res = { 'command' => 'hoverOverElement', 'id' => $self->{id} };
- return $self->_execute_command($res);
-}
=head2 describe
Description: