Can you help me to load this website? https://www.diretta.it Thank you

18 views
Skip to first unread message

Andrea D'Errico

unread,
Aug 12, 2019, 10:13:37 AM8/12/19
to CasperJS
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')
 })
});

casper.run();

Reply all
Reply to author
Forward
0 new messages