Closed yaitskov closed 6 years ago
Google chrome, Opera, and Firefox process the page without any problem.
phantomjs --version 2.1.1
Script:
var page = require("webpage").create(); var homePage = "http://cloud-sport.org/"; page.open(homePage); page.onLoadFinished = function(status) { var url = page.url; console.log("Status: " + status); console.log("Loaded: " + url); page.render("localhost.png"); phantom.exit(); };
phantomjs s.js TypeError: undefined is not an object (evaluating 'space.props.alpha = { idx: 3, type: "percent", def: 1 }') http://cloud-sport.org/bundle.js:39400 http://cloud-sport.org/bundle.js:5163 in each http://cloud-sport.org/bundle.js:39398 http://cloud-sport.org/bundle.js:39930 http://cloud-sport.org/bundle.js:37934 http://cloud-sport.org/bundle.js:37941 http://cloud-sport.org/bundle.js:20 in __webpack_require__ http://cloud-sport.org/bundle.js:37803 http://cloud-sport.org/bundle.js:20 in __webpack_require__ http://cloud-sport.org/bundle.js:32930 http://cloud-sport.org/bundle.js:20 in __webpack_require__ http://cloud-sport.org/bundle.js:63 Status: success Loaded: http://cloud-sport.org/
White png file is generated.
Google chrome, Opera, and Firefox process the page without any problem.
Script:
White png file is generated.