Moves the mouse to the specified offset of the top-left corner of the specified element.
Namespace: OpenQA.Selenium.InteractionsAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public Actions MoveToElement( IWebElement toElement, int offsetX, int offsetY )
Parameters
- toElement
- Type: OpenQA.Selenium IWebElement
The element to which to move the mouse.
- offsetX
- Type:
System Int32
The horizontal offset to which to move the mouse.
- offsetY
- Type:
System Int32
The vertical offset to which to move the mouse.
Return Value
A self-reference to this Actions.See Also