public void DragAndDropBy(int moveRightBy, int moveDownBy) { Dictionary<string, object> parameters = new Dictionary<string, object>(); parameters.Add("id", Id); Parent.Execute(DriverCommand.DragElement, new object[] { parameters, moveRightBy, moveDownBy }); }