ActionsMoveToElement Method (IWebElement, Int32, Int32)WebDriver
Moves the mouse to the specified offset of the top-left corner of the specified element.

Namespace: OpenQA.Selenium.Interactions
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public Actions MoveToElement(
	IWebElement toElement,
	int offsetX,
	int offsetY
)

Parameters

toElement
Type: OpenQA.SeleniumIWebElement
The element to which to move the mouse.
offsetX
Type: SystemInt32
The horizontal offset to which to move the mouse.
offsetY
Type: SystemInt32
The vertical offset to which to move the mouse.

Return Value

Type: Actions
A self-reference to this Actions.
See Also

Reference