bwobst opened this issue 6 years ago · 1 comments
I can't find any mention of promises in the docs or other issues.
You can simply do this:
return chromeless .goto('http://google.com') .screenshot() .then(console.log) .then(() => chromeless.end()) .catch((err) => { throw err; });