public virtual void DragAndDrop(IWebElement target) { ActionsHelper actionsHelper = ActionsHelper.getInstance(); RemoteWebElement webElement = RelayObject.SEWebElement; string draggable = webElement.GetAttribute("draggable"); if (!string.IsNullOrEmpty(draggable) && draggable.ToLower().Equals("true")) { BrowserHoster.getInstance().WebDriver.ExecuteScript(_jsDnD, RelayObject.SEWebElement, target.RelayObject.SEWebElement); } else { actionsHelper.DragAndDrop(RelayObject.SEWebElement, target.RelayObject.SEWebElement); } }