ActionsDragAndDropByOffset Method |
Holds down the left mouse button on the source element, then moves to the target element and releases the mouse button.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As Actions
Dim element As WebElement
Dim offset_x As Integer
Dim offset_y As Integer
Dim returnValue As Actions
returnValue = instance.DragAndDropByOffset(element,
offset_x, offset_y)
Parameters
- element
- Type: SeleniumWebElement
The element to mouse down. - offset_x
- Type: SystemInt32
X offset to move to. - offset_y
- Type: SystemInt32
Y offset to move to.
Return Value
Type:
ActionsSelf
See Also