DefaultSelenium DragAndDropToObject Method WebDriver
Drags an element and drops it on another element

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public void DragAndDropToObject(
	string locatorOfObjectToBeDragged,
	string locatorOfDragDestinationObject
)

Parameters

locatorOfObjectToBeDragged
Type: OnlineSystem String
an element to be dragged
locatorOfDragDestinationObject
Type: OnlineSystem String
an element whose location (i.e., whose center-most pixel) will be the point where locatorOfObjectToBeDragged is dropped

Implements

ISelenium DragAndDropToObject(String, String)
See Also