Also listen for console log messages and add method to retrieve them.

Seems like a only small enhancement needed to capture console log messages. This would be very helpful in Behat tests to look for errors.

see: https://stackoverflow.com/questions/45621694/how-to-get-console-log-output-in-terminal-via-headless-chrome-runtime-evaluate

The needed code change is only a few lines.