title: Is there a way to view PhantomJS console.log messages via Selenium/GhostDriver?
body: <p>I'm using the Java bindings of <a href="https://github.com/detro/ghostdriver" rel="noreferrer">GhostDriver</a> to run Selenium acceptance tests against PhantomJS.</p>
  
  <p>If one of the web pages requested by PhantomJS logs to the Javascript console via console.log, is there a way to capture or view those messages?</p>
  
  <p>I'm guessing that the answer to this is forehead-slappingly simple but I can't work it out!</p>