Performs a drag-and-drop operation on one element to a specified offset.
Namespace: OpenQA.Selenium.InteractionsAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public Actions DragAndDropToOffset( IWebElement source, int offsetX, int offsetY )
Parameters
- source
- Type: OpenQA.Selenium IWebElement
The element on which the drag operation is started.
- 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