Appearance
I.dragUp()
Drags an element upward by a specified vertical offset, in pixels.
Usage
js
I.dragUp(element: string, y: number)Parameters
| Parameter | Type | Description |
|---|---|---|
element | string | Element to drag — by text, CSS selector, or XPath |
y | number | Vertical distance in pixels to drag upwards. |
Example
js
I.goTo("http://jqueryui.com/resources/demos/droppable/default.html")
I.dragUp("drag me", 10)Drags the element "drag me" 10 pixels up.