diff options
Diffstat (limited to 'tests/lib/screenshot-testing/support/page-renderer.js')
-rw-r--r-- | tests/lib/screenshot-testing/support/page-renderer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/screenshot-testing/support/page-renderer.js b/tests/lib/screenshot-testing/support/page-renderer.js index 4800106c96..6627134db1 100644 --- a/tests/lib/screenshot-testing/support/page-renderer.js +++ b/tests/lib/screenshot-testing/support/page-renderer.js @@ -108,10 +108,12 @@ PageRenderer.prototype.selectMainFrame = function (waitTime) { }; PageRenderer.prototype.reload = function (waitTime) { + waitTime = waitTime ? waitTime : 1000; this.queuedEvents.push([this._reload, waitTime]); }; PageRenderer.prototype.load = function (url, waitTime) { + waitTime = waitTime ? waitTime : 1000; this.queuedEvents.push([this._load, waitTime, url]); }; |