MouseMoveTo メソッド
Move the mouse by an offset of the specificed element.

名前空間: Selenium
アセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文
VB 使用例
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)

パラメータ

element
型: 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(省略可)
型: 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(省略可)
型: 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.

戻り値

型: Mouse
参照