MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / createKeyEvent

Method createKeyEvent

front_end/Tests.js:42–44  ·  view source on GitHub ↗

* Key event with given key identifier.

(key)

Source from the content-addressed store, hash-verified

40 * Key event with given key identifier.
41 */
42 static createKeyEvent(key) {
43 return new KeyboardEvent('keydown', {bubbles: true, cancelable: true, key});
44 }
45 };
46
47 /**

Callers 3

onBlankSectionFunction · 0.80
testContinuationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected