This step allows you to drag an element from one location to another on the page.

Inputs

drag from description
string
required

Description of the element where you are initiating drag. Refer to the Locating elements guide for more information.

drag to description
string
required

Description of the element where you are finishing drag. Refer to the Locating elements guide for more information.

Configs

hover duration
number

Number of seconds to wait before dropping the element. This can be useful for ensuring that mouse and hover events are triggered before the drop completes.

disable stability checks
boolean
default: false

Do not wait for the element to be visible, stable and actionable before interacting. Useful for elements that are constantly animating or partially obscured.

use css selector
boolean
default: false

Treat the element description as a CSS selector. This is not recommended for maintainability reasons but can be useful for dynamic pages.

visible area only
boolean
default: false

Search for the element in the current visible area only. Improves performance and accuracy for long pages. Does not affect vision descriptions, which always use the visible area only.