Use "Enter" instead of "ENTER" for runner KeyboardEvent (#110)

This commit is contained in:
Camillo Bruni 2023-03-16 19:10:12 +01:00 committed by GitHub
parent 6d04874961
commit 90562b145f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ class PageElement {
cancelable: true,
keyCode: ENTER_KEY_CODE,
which: ENTER_KEY_CODE,
key: "ENTER",
key: "Enter",
};
if (options !== undefined)
eventOptions = Object.assign(eventOptions, options);