Explorar o código

Correct error in buttondown docs.

The official Selenium docs confirmed this change is correct: https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/buttondown
Mark Stosberg %!s(int64=12) %!d(string=hai) anos
pai
achega
a83c5aec17
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

@@ -1803,7 +1803,7 @@ sub double_click {
  Description:
     Click and hold the left mouse button (at the coordinates set by the
     last moveto command). Note that the next mouse-related command that
-    should follow is buttondown . Any other mouse command (such as click
+    should follow is buttonup . Any other mouse command (such as click
     or another call to buttondown) will yield undefined behaviour.
 
  Usage: