Explorar o código

Click wasn't working due to typo.
https://github.com/aivaturi/Selenium-Remote-Driver/issues/53

Charles Howes %!s(int64=12) %!d(string=hai) anos
pai
achega
dadb329913
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Selenium/Remote/Driver.pm

+ 1 - 1
lib/Selenium/Remote/Driver.pm

@@ -1735,7 +1735,7 @@ sub click {
   }
   my $res = { 'command' => 'click' };
   my $params = { 'button' => $button };
-  return $self->_execute_command($res,$button);
+  return $self->_execute_command($res,$params);
 }
 
 =head2 double_click