---
title: "swipeDown(withVelocity:)"
framework: xcuiautomation
role: symbol
role_heading: Instance Method
path: "xcuiautomation/xcuielement/swipedown(withvelocity:)"
---

# swipeDown(withVelocity:)

Sends a swipe-down gesture with a velocity you specify.

## Declaration

```swift
@MainActor @nonobjc @preconcurrency func swipeDown(withVelocity velocity: XCUIGestureVelocity)
```

## Parameters

- `velocity`: The speed at which to perform the swipe-down gesture, expressed in pixels per second.

## See Also

### Deprecated methods

- [swipeUp(withVelocity:)](xcuiautomation/xcuielement/swipeup(withvelocity:).md)
- [swipeLeft(withVelocity:)](xcuiautomation/xcuielement/swipeleft(withvelocity:).md)
- [swipeRight(withVelocity:)](xcuiautomation/xcuielement/swiperight(withvelocity:).md)
