@qawolf/browser
Advanced tools
Comparing version 0.7.6 to 0.7.7
@@ -11,3 +11,3 @@ "use strict"; | ||
const USKeys = lodash_1.uniq(Object.values(USKeyboardLayout_1.default).map(definition => definition.key)); | ||
exports.isKeyHeld = (events, thresholdMs = 200) => { | ||
exports.isKeyHeld = (events, thresholdMs = 500) => { | ||
for (let i = 0; i < events.length - 1; i++) { | ||
@@ -14,0 +14,0 @@ const keydownEvent = events[i]; |
{ | ||
"name": "@qawolf/browser", | ||
"description": "qawolf browser manager", | ||
"version": "0.7.6", | ||
"version": "0.7.7", | ||
"license": "BSD-3.0", | ||
@@ -42,3 +42,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "173c6ae3e83e5a8a487514a260753f69d0016471" | ||
"gitHead": "f849e14a7b10b1221da319d7eac94074bc8fbf31" | ||
} |
@@ -14,3 +14,3 @@ import { logger } from "@qawolf/logger"; | ||
events: KeyEvent[], | ||
thresholdMs: number = 200 | ||
thresholdMs: number = 500 | ||
): boolean => { | ||
@@ -17,0 +17,0 @@ /** |