Representations of keys able to be pressed that are not text keys for sending to the browser.
Inheritance Hierarchy
OpenQA.SeleniumKeys
Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax
The Keys type exposes the following members.
Fields
Name  Description  

Add 
Represents the number pad addition key.
 
Alt 
Represents the Alt key.
 
ArrowDown 
Represents the Left arrow key.
 
ArrowLeft 
Represents the left arrow key.
 
ArrowRight 
Represents the right arrow key.
 
ArrowUp 
Represents the up arrow key.
 
Backspace 
Represents the Backspace key.
 
Cancel 
Represents the Cancel keystroke.
 
Clear 
Represents the Clear keystroke.
 
Command 
Represents the function key COMMAND.
 
Control 
Represents the Control key.
 
Decimal 
Represents the number pad decimal separator key.
 
Delete 
Represents the Delete key.
 
Divide 
Represents the number pad division key.
 
Down 
Represents the Left arrow key.
 
End 
Represents the End key.
 
Enter 
Represents the Enter key.
 
Equal 
Represents the equal sign key.
 
Escape 
Represents the Escape key.
 
F1 
Represents the function key F1.
 
F10 
Represents the function key F10.
 
F11 
Represents the function key F11.
 
F12 
Represents the function key F12.
 
F2 
Represents the function key F2.
 
F3 
Represents the function key F3.
 
F4 
Represents the function key F4.
 
F5 
Represents the function key F5.
 
F6 
Represents the function key F6.
 
F7 
Represents the function key F7.
 
F8 
Represents the function key F8.
 
F9 
Represents the function key F9.
 
Help 
Represents the Help keystroke.
 
Home 
Represents the Home key.
 
Insert 
Represents the Insert key.
 
Left 
Represents the left arrow key.
 
LeftAlt 
Represents the Alt key.
 
LeftControl 
Represents the Control key.
 
LeftShift 
Represents the Shift key.
 
Meta 
Represents the function key META.
 
Multiply 
Represents the number pad multiplication key.
 
Null 
Represents the NUL keystroke.
 
NumberPad0 
Represents the number pad 0 key.
 
NumberPad1 
Represents the number pad 1 key.
 
NumberPad2 
Represents the number pad 2 key.
 
NumberPad3 
Represents the number pad 3 key.
 
NumberPad4 
Represents the number pad 4 key.
 
NumberPad5 
Represents the number pad 5 key.
 
NumberPad6 
Represents the number pad 6 key.
 
NumberPad7 
Represents the number pad 7 key.
 
NumberPad8 
Represents the number pad 8 key.
 
NumberPad9 
Represents the number pad 9 key.
 
PageDown 
Represents the Page Down key.
 
PageUp 
Represents the Page Up key.
 
Pause 
Represents the Pause key.
 
Return 
Represents the Return key.
 
Right 
Represents the right arrow key.
 
Semicolon 
Represents the semicolon key.
 
Separator 
Represents the number pad thousands separator key.
 
Shift 
Represents the Shift key.
 
Space 
Represents the Spacebar key.
 
Subtract 
Represents the number pad subtraction key.
 
Tab 
Represents the Tab key.
 
Up 
Represents the up arrow key.

See Also