---
title: enter
framework: xcuiautomation
role: symbol
role_heading: Type Property
path: xcuiautomation/xcuikeyboardkey/enter
---

# enter

A constant that represents the Enter key.

## Declaration

```swift
static let enter: XCUIKeyboardKey
```

## See Also

### Other keys

- [clear](xcuiautomation/xcuikeyboardkey/clear.md)
- [escape](xcuiautomation/xcuikeyboardkey/escape.md)
- [return](xcuiautomation/xcuikeyboardkey/return.md)
