Skip to content

Commit

Permalink
Fix key up
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Sep 16, 2023
1 parent 719c5da commit 9bca780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/test/harness/src/host/common/host/sendKeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { Key } = require('selenium-webdriver');

const KEY_DOWN_PATTERN = /^\+(.*)/u;
const KEY_MAP = new Map(Object.entries(Key));
const KEY_UP_PATTERN = /^\+(.*)/u;
const KEY_UP_PATTERN = /^-(.*)/u;

module.exports = webDriver =>
function sendKeys(...keys) {
Expand Down

0 comments on commit 9bca780

Please sign in to comment.