Actions MoveByOffset Method WebDriver
Moves the mouse to the specified offset of the last known mouse coordinates.

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

public Actions MoveByOffset(
	int offsetX,
	int offsetY
)

Parameters

offsetX
Type: OnlineSystem Int32
The horizontal offset to which to move the mouse.
offsetY
Type: OnlineSystem Int32
The vertical offset to which to move the mouse.

Return Value

A self-reference to this Actions.
See Also