Created
May 30, 2018 10:39
-
-
Save swarad07/8c88124fc31d664b734fa07ab42b3699 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ###################################################### | |
// 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, 10000); // you MUST call the ready() callback for Wraith to continue | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment