Appearance
I.dragDown()
Drags an element down by a specified vertical offset, in pixels.
Usage
js
I.dragDown(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 downwards. |
Example
js
I.goTo("http://jqueryui.com/resources/demos/droppable/default.html")
I.dragDown("drag me", 10)Drags the element "drag me" 10 pixels down.