public virtual void Drag(int x = -1, int y = -1) { 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(_jsDrag, RelayObject.SEWebElement); } else { actionsHelper.Drag(RelayObject.SEWebElement, x, y); } }