MouseMoveTo Method
Move the mouse by an offset of the specificed element.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As Mouse
Dim element As WebElement
Dim xoffset As Integer
Dim yoffset As Integer
Dim returnValue As Mouse

returnValue = instance.MoveTo(element, 
	xoffset, yoffset)

Parameters

element
Type: SeleniumWebElement
Opaque ID assigned to the element to move to, as described in the WebElement JSON Object. If not specified or is null, the offset is relative to current position of the mouse.
xoffset (Optional)
Type: SystemInt32
{number} X offset to move to, relative to the top-left corner of the element. If not specified, the mouse will move to the middle of the element.
yoffset (Optional)
Type: SystemInt32
{number} Y offset to move to, relative to the top-left corner of the element. If not specified, the mouse will move to the middle of the element.

Return Value

Type: Mouse

[Missing <returns> documentation for "M:Selenium.Mouse.MoveTo(Selenium.WebElement,System.Int32,System.Int32)"]

See Also