ActionsDragAndDrop 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 elementSource As WebElement
Dim elementTarget As WebElement
Dim returnValue As Actions
returnValue = instance.DragAndDrop(elementSource,
elementTarget)
Parameters
- elementSource
- Type: SeleniumWebElement
The element to mouse down. - elementTarget
- Type: SeleniumWebElement
The element to mouse up.
Return Value
Type:
ActionsSelf
See Also