Pārlūkot izejas kodu

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

Charles Howes 12 gadi atpakaļ
vecāks
revīzija
dadb329913
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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