예제 #1
0
        public virtual void Drop(int x = -1, int y = -1)
        {
            ActionsHelper actionsHelper = ActionsHelper.getInstance();

            actionsHelper.Drop(RelayObject.SEWebElement, x, y);
            bool droppable = Convert.ToBoolean(BrowserHoster.getInstance().WebDriver.ExecuteScript(_jsDrop, RelayObject.SEWebElement));

            if (!droppable)
            {
                actionsHelper.Drop(RelayObject.SEWebElement, x, y);
            }
        }