DefaultSeleniumSetMouseSpeed Method WebDriver
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.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 3.1.0
Syntax

public void SetMouseSpeed(
	string pixels
)

Parameters

pixels
Type: SystemString
the number of pixels between "mousemove" events

Implements

ISeleniumSetMouseSpeed(String)
See Also

Reference