X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2Fphantom%2Fscreenshot.js;h=ac4de3b9f17358f33b47e897228349afd2a09280;hp=08e230d43b439cb088546832564b0fe7055bbcd6;hb=c159a9553666f85cbd7cee5d980a9d7836cd2435;hpb=ad3295052fac50a2f7b9a9e50043dc02a8d119ac diff --git a/test/phantom/screenshot.js b/test/phantom/screenshot.js index 08e230d..ac4de3b 100644 --- a/test/phantom/screenshot.js +++ b/test/phantom/screenshot.js @@ -23,7 +23,7 @@ page.clipRect = { page.open(url, function () { // small delay setTimeout(function () { - page.render(file_png); + var ret = page.render(file_png); phantom.exit(); }, 200); });