Skip to content

selenium.actions.key

W3C keyboard input source key code points for non-printable keys.

Key

enum Key: dchar;

Special key code points used by the W3C keyboard input source.

Printable characters are sent directly as their own code point. These values occupy the Unicode Private Use Area so they never collide with real characters, matching the code points defined by the WebDriver specification.

Null

Null

The null key, used to release every modifier.

Cancel

Cancel

The Cancel key.

Help

Help

The Help key.

Backspace

Backspace

The Backspace key.

Tab

Tab

The Tab key.

Clear

Clear

The Clear key.

Return

Return

The Return key.

Enter

Enter

The Enter key.

Shift

Shift

The Shift modifier.

Control

Control

The Control modifier.

Alt

Alt

The Alt modifier.

Pause

Pause

The Pause key.

Escape

Escape

The Escape key.

Space

Space

The Space key.

PageUp

PageUp

The Page Up key.

PageDown

PageDown

The Page Down key.

End

End

The End key.

Home

Home

The Home key.

ArrowLeft

ArrowLeft

The left arrow key.

ArrowUp

ArrowUp

The up arrow key.

ArrowRight

ArrowRight

The right arrow key.

ArrowDown

ArrowDown

The down arrow key.

Insert

Insert

The Insert key.

Delete

Delete

The Delete key.

Semicolon

Semicolon

The Semicolon key.

Equals

Equals

The Equals key.

Numpad0

Numpad0

The numpad 0 key.

Numpad1

Numpad1

The numpad 1 key.

Numpad2

Numpad2

The numpad 2 key.

Numpad3

Numpad3

The numpad 3 key.

Numpad4

Numpad4

The numpad 4 key.

Numpad5

Numpad5

The numpad 5 key.

Numpad6

Numpad6

The numpad 6 key.

Numpad7

Numpad7

The numpad 7 key.

Numpad8

Numpad8

The numpad 8 key.

Numpad9

Numpad9

The numpad 9 key.

Multiply

Multiply

The numpad multiply key.

Add

Add

The numpad add key.

Separator

Separator

The numpad separator key.

Subtract

Subtract

The numpad subtract key.

Decimal

Decimal

The numpad decimal key.

Divide

Divide

The numpad divide key.

F1

F1

The F1 key.

F2

F2

The F2 key.

F3

F3

The F3 key.

F4

F4

The F4 key.

F5

F5

The F5 key.

F6

F6

The F6 key.

F7

F7

The F7 key.

F8

F8

The F8 key.

F9

F9

The F9 key.

F10

F10

The F10 key.

F11

F11

The F11 key.

F12

F12

The F12 key.

Meta

Meta

The Meta modifier.

Command

Command

The Command key, an alias for Meta.