Table of Contents

Class Keys

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Representations of keys able to be pressed that are not text keys for sending to the browser.

public static class Keys
Inheritance
Keys
Inherited Members

Fields

Add

Represents the number pad addition key.

public static readonly string Add

Field Value

string

Alt

Represents the Alt key.

public static readonly string Alt

Field Value

string

ArrowDown

Represents the down arrow key.

public static readonly string ArrowDown

Field Value

string

ArrowLeft

Represents the left arrow key.

public static readonly string ArrowLeft

Field Value

string

ArrowRight

Represents the right arrow key.

public static readonly string ArrowRight

Field Value

string

ArrowUp

Represents the up arrow key.

public static readonly string ArrowUp

Field Value

string

Backspace

Represents the Backspace key.

public static readonly string Backspace

Field Value

string

Cancel

Represents the Cancel keystroke.

public static readonly string Cancel

Field Value

string

Clear

Represents the Clear keystroke.

public static readonly string Clear

Field Value

string

Command

Represents the function key COMMAND.

public static readonly string Command

Field Value

string

Control

Represents the Control key.

public static readonly string Control

Field Value

string

Decimal

Represents the number pad decimal separator key.

public static readonly string Decimal

Field Value

string

Delete

Represents the Delete key.

public static readonly string Delete

Field Value

string

Divide

Represents the number pad division key.

public static readonly string Divide

Field Value

string

Down

Represents the down arrow key.

public static readonly string Down

Field Value

string

End

Represents the End key.

public static readonly string End

Field Value

string

Enter

Represents the Enter key.

public static readonly string Enter

Field Value

string

Equal

Represents the equal sign key.

public static readonly string Equal

Field Value

string

Escape

Represents the Escape key.

public static readonly string Escape

Field Value

string

F1

Represents the function key F1.

public static readonly string F1

Field Value

string

F10

Represents the function key F10.

public static readonly string F10

Field Value

string

F11

Represents the function key F11.

public static readonly string F11

Field Value

string

F12

Represents the function key F12.

public static readonly string F12

Field Value

string

F2

Represents the function key F2.

public static readonly string F2

Field Value

string

F3

Represents the function key F3.

public static readonly string F3

Field Value

string

F4

Represents the function key F4.

public static readonly string F4

Field Value

string

F5

Represents the function key F5.

public static readonly string F5

Field Value

string

F6

Represents the function key F6.

public static readonly string F6

Field Value

string

F7

Represents the function key F7.

public static readonly string F7

Field Value

string

F8

Represents the function key F8.

public static readonly string F8

Field Value

string

F9

Represents the function key F9.

public static readonly string F9

Field Value

string

Help

Represents the Help keystroke.

public static readonly string Help

Field Value

string

Home

Represents the Home key.

public static readonly string Home

Field Value

string

Insert

Represents the Insert key.

public static readonly string Insert

Field Value

string

Left

Represents the left arrow key.

public static readonly string Left

Field Value

string

LeftAlt

Represents the Alt key.

public static readonly string LeftAlt

Field Value

string

LeftControl

Represents the Control key.

public static readonly string LeftControl

Field Value

string

LeftShift

Represents the Shift key.

public static readonly string LeftShift

Field Value

string

Meta

Represents the function key META.

public static readonly string Meta

Field Value

string

Multiply

Represents the number pad multiplication key.

public static readonly string Multiply

Field Value

string

Null

Represents the NUL keystroke.

public static readonly string Null

Field Value

string

NumberPad0

Represents the number pad 0 key.

public static readonly string NumberPad0

Field Value

string

NumberPad1

Represents the number pad 1 key.

public static readonly string NumberPad1

Field Value

string

NumberPad2

Represents the number pad 2 key.

public static readonly string NumberPad2

Field Value

string

NumberPad3

Represents the number pad 3 key.

public static readonly string NumberPad3

Field Value

string

NumberPad4

Represents the number pad 4 key.

public static readonly string NumberPad4

Field Value

string

NumberPad5

Represents the number pad 5 key.

public static readonly string NumberPad5

Field Value

string

NumberPad6

Represents the number pad 6 key.

public static readonly string NumberPad6

Field Value

string

NumberPad7

Represents the number pad 7 key.

public static readonly string NumberPad7

Field Value

string

NumberPad8

Represents the number pad 8 key.

public static readonly string NumberPad8

Field Value

string

NumberPad9

Represents the number pad 9 key.

public static readonly string NumberPad9

Field Value

string

PageDown

Represents the Page Down key.

public static readonly string PageDown

Field Value

string

PageUp

Represents the Page Up key.

public static readonly string PageUp

Field Value

string

Pause

Represents the Pause key.

public static readonly string Pause

Field Value

string

Return

Represents the Return key.

public static readonly string Return

Field Value

string

Right

Represents the right arrow key.

public static readonly string Right

Field Value

string

Semicolon

Represents the semi-colon key.

public static readonly string Semicolon

Field Value

string

Separator

Represents the number pad thousands separator key.

public static readonly string Separator

Field Value

string

Shift

Represents the Shift key.

public static readonly string Shift

Field Value

string

Space

Represents the Spacebar key.

public static readonly string Space

Field Value

string

Subtract

Represents the number pad subtraction key.

public static readonly string Subtract

Field Value

string

Tab

Represents the Tab key.

public static readonly string Tab

Field Value

string

Up

Represents the up arrow key.

public static readonly string Up

Field Value

string

ZenkakuHankaku

Represents the Zenkaku/Hankaku key.

public static readonly string ZenkakuHankaku

Field Value

string