Skip to content

ScreenCILocatorDragToOptions

ScreenCILocatorDragToOptions = Omit<NonNullable<Parameters<Locator["dragTo"]>[1]>, "steps"> & CursorActionMoveOptions & MouseMoveTimingOption & object

Defined in: types.ts:738

optional dragSteps?: number

Minimum number of intermediate cursor dispatches spread across the drag, so the browser sees a dense enough stream of moves to track the gesture (a slider thumb, drag-and-drop hit testing). Defaults to DEFAULT_DRAG_STEPS. Increase it for a longer or more sensitive drag.

optional easing?: Easing

optional sourcePosition?: object

x: number

y: number

optional targetPosition?: object

x: number

y: number