schickling / chromeless

🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.
https://chromeless.netlify.com
MIT License
13.24k stars 575 forks source link

Access console.error output? #219

Open dannymyers opened 7 years ago

dannymyers commented 7 years ago

Is it possible to use chromeless to monitor the console output and see if there are any error messages in the console? The use case for this would be a smoke test of the application hitting every page looking for console errors (and resource errors?) as part of our CI release.

I believe casper.js has this via their events API (remote.message),

joelgriffith commented 7 years ago

Thanks! We're definitely looking to add functionality like this. Will respond back once it hits but feel free to make a PR ❤️