Hi,
I'm trying to load the content of this webpage (
https://www.diretta.it). But since 1 month I can't see the content. Can you help me?
Thanks,
Andrea
My script is
var casper = require('casper').create({
verbose: true,
logLevel: 'debug',
pageSettings: {
javascriptEnabled: true,
loadImages: false,
loadPlugins: true,
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36',
},
})
casper.start(url, function() {
casper.wait(10000,function(){ //I'm trying to wait because in the real website there is a loader, but I can't see nothing in the screenshot (home.png)
casper.capture('home.png')
})
});