Contents

typeKey(_:modifierFlags:)

Types a single key from the XCUIKeyboardKey enumeration with the specified modifier flags.

Declaration

@MainActor @nonobjc @preconcurrency func typeKey(_ key: XCUIKeyboardKey, modifierFlags: XCUIElement.KeyModifierFlags)

See Also

Combining keystrokes