javiercejudo/javiercejudo.com

View on GitHub
wraith/javascript/wait--phantom.js

Summary

Maintainability
A
0 mins
Test Coverage
// ######################################################
// This is an example module provided by Wraith.
// Feel free to amend for your own requirements.
// ######################################################
module.exports = function (phantom, ready) {
    // make Wraith wait a bit longer before taking the screenshot
    setTimeout(ready, 5000); // you MUST call the ready() callback for Wraith to continue
};