externalKey
Index
Constructors
Properties
- Alt
- ArrowDown
- ArrowLeft
- ArrowRight
- ArrowUp
- Backspace
- Cancel
- Clear
- Control
- Delete
- End
- Enter
- Escape
- F1
- F2
- F3
- F4
- F5
- F6
- F7
- F8
- F9
- F10
- F11
- F12
- Help
- Home
- Insert
- Meta
- Numpad0
- Numpad1
- Numpad2
- Numpad3
- Numpad4
- Numpad5
- Numpad6
- Numpad7
- Numpad8
- Numpad9
- NumpadAdd
- NumpadDecimal
- NumpadDivide
- NumpadEqual
- NumpadMultiply
- NumpadSubtract
- PageDown
- PageUp
- Pause
- Semicolon
- Shift
- Space
- Tab
- devtoolsName
- utf16codePoint
- isModifier
Methods
Constructors
externalconstructor
Parameters
externaldevtoolsName: string
externalutf16codePoint: string
externalisModifier: boolean = false
Returns Key
Properties
publicstaticexternalAlt
publicstaticexternalArrowDown
publicstaticexternalArrowLeft
publicstaticexternalArrowRight
publicstaticexternalArrowUp
publicstaticexternalBackspace
publicstaticexternalCancel
publicstaticexternalClear
publicstaticexternalControl
publicstaticexternalDelete
publicstaticexternalEnd
publicstaticexternalEnter
publicstaticexternalEscape
publicstaticexternalF1
publicstaticexternalF2
publicstaticexternalF3
publicstaticexternalF4
publicstaticexternalF5
publicstaticexternalF6
publicstaticexternalF7
publicstaticexternalF8
publicstaticexternalF9
publicstaticexternalF10
publicstaticexternalF11
publicstaticexternalF12
publicstaticexternalHelp
publicstaticexternalHome
publicstaticexternalInsert
publicstaticexternalMeta
publicstaticexternalNumpad0
publicstaticexternalNumpad1
publicstaticexternalNumpad2
publicstaticexternalNumpad3
publicstaticexternalNumpad4
publicstaticexternalNumpad5
publicstaticexternalNumpad6
publicstaticexternalNumpad7
publicstaticexternalNumpad8
publicstaticexternalNumpad9
publicstaticexternalNumpadAdd
publicstaticexternalNumpadDecimal
publicstaticexternalNumpadDivide
publicstaticexternalNumpadEqual
publicstaticexternalNumpadMultiply
publicstaticexternalNumpadSubtract
publicstaticexternalPageDown
publicstaticexternalPageUp
publicstaticexternalPause
publicstaticexternalSemicolon
publicstaticexternalShift
publicstaticexternalSpace
publicstaticexternalTab
publicexternalreadonlydevtoolsName
publicexternalreadonlyutf16codePoint
publicexternalreadonlyisModifier
Methods
publicstaticexternalisKey
Parameters
externalmaybeKey: unknown
Returns maybeKey is Key
externaltoString
Returns string
Represents keyboard keys that aren't text, and that can be used with the interaction to
Press
.Note: Modifier keys like
Key.Shift
,Key.Alt
andKey.Meta
(a.k.a. "Command" on Mac) will stay pressed, so there's no need to depress them.Learn more
Press
Page.sendKeys