MouseClickAndHold Method
Click and hold the left mouse button (at the coordinates set by the last moveto command).

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: (
VB Usage
Dim instance As Mouse
Dim button As MouseButton
Dim returnValue As Mouse

returnValue = instance.ClickAndHold(button)


button (Optional)
Type: SeleniumMouseButton
{number} Which button, enum: {LEFT = 0, MIDDLE = 1 , RIGHT = 2}. Defaults to the left mouse button if not specified.

Return Value

Type: Mouse

[Missing <returns> documentation for "M:Selenium.Mouse.ClickAndHold(Selenium.MouseButton)"]

See Also