thoughtbot/capybara-webkit — pull request #311 by joshuanapoli (2012-04-03 22:41:38+00:00)
Title: add error message detail for page load failure

to easily debug "Unable to load URL" errors.

When we use capybara-webkit with cucumber, sometimes we hit WebkitInvalidResponseError, "Unable to load URL..." but have difficulty finding the particular asset that is failing. This change is meant to speed up debugging of these problems by collecting the actual failing URL from Webkit and packing it into the error message.