X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fspec-dev%2Fscreenshot.js;fp=test%2Fspec-dev%2Fscreenshot.js;h=95f9fa31dccf6ba98888518db248c9b6a0021027;hb=31c55ebec20636cde992491aca72d83d237c4211;hp=18b03c39aa56e46e168fa216563c922cb5e12f12;hpb=bc2996378815d4ba2df7a3c412c46ccc4c61f98f;p=mkws-moved-to-github.git diff --git a/test/spec-dev/screenshot.js b/test/spec-dev/screenshot.js index 18b03c3..95f9fa3 100644 --- a/test/spec-dev/screenshot.js +++ b/test/spec-dev/screenshot.js @@ -1,12 +1,9 @@ // run: phantomjs /path/to/this/file - var url = 'http://www.indexdata.com/'; var file_png = "indexdata.png"; var page = require('webpage').create(); - page.open(url, function () { page.render(file_png); phantom.exit(); }); -