Skip to content

Instantly share code, notes, and snippets.

@pjmelling
Created July 17, 2017 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjmelling/2320447fb10581c75fd22d9b9977cf1b to your computer and use it in GitHub Desktop.
Save pjmelling/2320447fb10581c75fd22d9b9977cf1b to your computer and use it in GitHub Desktop.
print browser errors from within a rspec with capybara test
puts page.driver.browser.manage.logs.get('browser')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment