Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Drags from one target and drops onto another. There is no simplified form. from and to are required.

Parameters

ParameterTypeRequiredDescription
fromstringYesDrag source description or percent pair.
tostringYesDrop target description or percent pair.
hoverDurationnumberNoMilliseconds to hold before starting the drag.
dragDurationnumberNoMilliseconds the drag gesture takes.
saveAsstringNoVariable to store this step’s return value on env.<name>.
retriesnumberNoTimes to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.
commentstringNoFree-form annotation kept with the step.

Examples

- dragAndDrop:
    from: the "Draft" card
    to: the "Done" column
    dragDuration: 800 # slow the gesture so the drop registers