Click or drag to resize

WebDriverExtensionsDragAndDropJs Method

Framework to automate tests using Selenium WebDriver
Javascript drag and drop function.

Namespace:  Ocaramba.Extensions
Assembly:  OcarambaLite (in OcarambaLite.dll) Version: 3.3.1
Syntax
C#
public static void DragAndDropJs(
	this IWebDriver webDriver,
	IWebElement source,
	IWebElement destination
)

Parameters

webDriver
Type: OpenQA.SeleniumIWebDriver
The WebDriver.
source
Type: OpenQA.SeleniumIWebElement
Source element.
destination
Type: OpenQA.SeleniumIWebElement
Destination element.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IWebDriver. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also