Testing_Selenium::setMouseSpeed
Configure the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
<p> Setting this value to 0 means that we'll send a "mousemove" event to every single pixel in between the start location and the end location; that can be very slow, and may cause some browsers to force the JavaScript to timeout. </p><p> If the mouse speed is greater than the distance between the two dragged objects, we'll just send one "mousemove" at the start location and then one final one at the end location. </p>
Signature
public function setMouseSpeed(string
$pixels )
Parameters
-
$pixels
- the number of pixels between "mousemove" events