Hey everyone,
I've a problem with phantom js.
First, i wanted to capture any website using php or js, so i choosed phantomjs.
This is my script :
var page = require('webpage').create();
page.viewportSize = { width: 1920, height: 1080 };
page.render('example.png');
phantom.exit();
});
It work well but there is some websites which use ads or component which take time to show.
I'd like to add a timer like that :
wait 5 seconds for showing all website component
capture the website with all component loaded
instead of :
capture the website without component loaded.
It's really anonnoying,
so i would be really grateful for the one who can make a script with a timer.
Thanks everyone
Tom (Sorry for my bad english)