websocket-webdriver
Advanced tools
Comparing version
@@ -79,3 +79,5 @@ "use strict"; | ||
return [2 /*return*/, FunctionEvaluator_1.evaluate(function (path) { | ||
location.assign(path); | ||
setTimeout(function () { | ||
location.assign(path); | ||
}, 100); | ||
}, path)]; | ||
@@ -89,3 +91,5 @@ }); | ||
return [2 /*return*/, FunctionEvaluator_1.evaluate(function (forceReload) { | ||
location.reload(forceReload); | ||
setTimeout(function () { | ||
location.reload(forceReload); | ||
}, 100); | ||
}, forceReload)]; | ||
@@ -92,0 +96,0 @@ }); |
{ | ||
"name": "websocket-webdriver", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"main": "dist/src/scripts/server/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/src/scripts/server/index.d.ts", |
@@ -28,3 +28,5 @@ import { evaluate, evaluateAsync } from "./FunctionEvaluator"; | ||
return evaluate((path: string) => { | ||
location.assign(path); | ||
setTimeout(() => { | ||
location.assign(path); | ||
}, 100); | ||
}, path); | ||
@@ -35,3 +37,5 @@ } | ||
return evaluate((forceReload?: boolean) => { | ||
location.reload(forceReload); | ||
setTimeout(() => { | ||
location.reload(forceReload); | ||
}, 100); | ||
}, forceReload); | ||
@@ -38,0 +42,0 @@ } |
Sorry, the diff of this file is not supported yet
752319
0.05%6508
0.12%