Selaa lähdekoodia

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 13 vuotta sitten
vanhempi
sitoutus
a83c5aec17
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/Selenium/Remote/Driver.pm

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

@@ -1803,7 +1803,7 @@ sub double_click {
  Description:
  Description:
     Click and hold the left mouse button (at the coordinates set by the
     Click and hold the left mouse button (at the coordinates set by the
     last moveto command). Note that the next mouse-related command that
     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.
     or another call to buttondown) will yield undefined behaviour.
 
 
  Usage:
  Usage: