Add Capybara diagnostics