title: Capture browser console logs with capybara
body: <p>I need to capture the console logs (category: info) of a browser using Ruby &amp; Capybara. Until now I have tried using <code>driver.manage.logs.get(:browser)</code> or (<code>:client)</code> but, using this, the result is not what I want. It gives out the interaction results between selenium and browser where I can see my javascript statements sent for execution, but the resulting output fails to get captured.</p>