X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fphantom%2Fscreenshot.js;h=ac4de3b9f17358f33b47e897228349afd2a09280;hb=c159a9553666f85cbd7cee5d980a9d7836cd2435;hp=08e230d43b439cb088546832564b0fe7055bbcd6;hpb=ad3295052fac50a2f7b9a9e50043dc02a8d119ac;p=mkws-moved-to-github.git 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); });