Performs a drag-and-drop operation from one element to another.
Namespace: OpenQA.Selenium.InteractionsAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public Actions DragAndDrop( IWebElement source, IWebElement target )
Parameters
- source
- Type: OpenQA.Selenium IWebElement
The element on which the drag operation is started.
- target
- Type: OpenQA.Selenium IWebElement
The element on which the drop is performed.
Return Value
A self-reference to this Actions.See Also