Can't get website image

2019-08-15 18:46发布

问题:

I am using PhantomJS to capture an image of a website built using Polymer. Here is my capture.js file:

var page = require('webpage').create();
page.open('https://www.gosizzle.io/token/recruiting/957e73c45b55129b1a', function() {
  page.render('test1.png');
  phantom.exit();
});

However when I run

phantomjs capture.js

my test1.png only contains the footer of the website: