XCUIElement.KeyModifierFlags
Flags for simulating combination keystrokes with keys, such as Control, Option, Shift, and Command.
Declaration
struct KeyModifierFlagsOverview
Use these flags with the typeKey(_:modifierFlags:) and perform(withKeyModifiers:block:) methods to simulate combination keystrokes while an action occurs.