Phantomjs Can';无法获取网站图像

Phantomjs Can';无法获取网站图像,phantomjs,polymer,polymer-1.0,Phantomjs,Polymer,Polymer 1.0,我正在使用PhantomJS捕捉一个使用聚合物构建的网站的图像。这是我的capture.js文件: var page = require('webpage').create(); page.open('https://www.gosizzle.io/token/recruiting/957e73c45b55129b1a', function() { page.render('test1.png'); phantom.exit(); }); 但是当我跑的时候 phantomjs capt

我正在使用PhantomJS捕捉一个使用聚合物构建的网站的图像。这是我的
capture.js
文件:

var page = require('webpage').create();
page.open('https://www.gosizzle.io/token/recruiting/957e73c45b55129b1a', function() {
  page.render('test1.png');
  phantom.exit();
});
但是当我跑的时候

phantomjs capture.js
my
test1.png
仅包含网站的页脚:


也许您需要稍等一下(
setTimeout
)。@ArtjomB。不,那没什么区别。你用哪个PhantomJS版本?请注册到
OnConsolleMessage
onError
onResourceError
onResourceTimeout
事件()。可能有错误。可能您需要稍等(
setTimeout
)。@ArtjomB。不,那没什么区别。你用哪个PhantomJS版本?请注册到
OnConsolleMessage
onError
onResourceError
onResourceTimeout
事件()。也许有错误。