Package org.xwiki.test.ui.po
Class SortableElement
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.SortableElement
-
public class SortableElement extends BaseElement
Represents a sortable element that is using, e.g., the "sortable" plugin of "jquery-ui".- Since:
- 15.6RC1, 15.5.1, 14.10.15
- Version:
- $Id: 8ceb8c610d67a3ab9bef119408d4ed295aee2fe8 $
-
-
Constructor Summary
Constructors Constructor Description SortableElement(org.openqa.selenium.WebElement container)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
moveBefore(org.openqa.selenium.By toMove, org.openqa.selenium.By before)
Move a given element before another one.-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
moveBefore
public void moveBefore(org.openqa.selenium.By toMove, org.openqa.selenium.By before)
Move a given element before another one.- Parameters:
toMove
- the selector for the element to move inside the sortablebefore
- the selector for the element before which the element to move should be moved
-
-