Skip to content

I.dragDown()

Drags an element down by a specified vertical offset, in pixels.

Usage

js
I.dragDown(element: string, y: number)

Parameters

ParameterTypeDescription
elementstringElement to drag — by text, CSS selector, or XPath
ynumberVertical 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.