Function Do-Set-Mouse-Speed

Part of:

package selenium
( do-set-mouse-speed < pixels > &optional (session *selenium-session*) )
Configure the number of pixels between “mousemove” events during dragAndDrop commands (default=10). 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. 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.