MCPcopy
hub / github.com/codeceptjs/CodeceptJS / isModifierKey

Function isModifierKey

lib/helper/WebDriver.js:3464–3466  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

3462
3463const unicodeModifierKeys = modifierKeys.map(k => convertKeyToRawKey(k))
3464function isModifierKey(key) {
3465 return unicodeModifierKeys.includes(key)
3466}
3467
3468function highlightActiveElement(element) {
3469 if (this.options.highlightElement && store.debugMode) {

Callers 3

pressKeyMethod · 0.90
pressKeyMethod · 0.90
pressKeyMethod · 0.70

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected