thoughtbot/capybara-webkit — pull request #342 by fletcherm (2012-05-25 14:07:42+00:00)
Title: Add empty invalid_element_errors method to the driver interface

Newer versions of capybara require an invalid_element_errors method on the driver object. The base capybara driver returns an empty array; the selenium driver returns a couple of exception classes. I looked through the capybara-webkit source and didn't see any appropriate exceptions, so I have it returning an empty array.

This change was already done by josephbridgwaterrowe, but he didn't include a spec, so his pull request was closed. https://github.com/thoughtbot/capybara-webkit/pull/288

I did include a spec - a pretty simple spec, at that. :) I wasn't sure where to add it, so I put it in the 'hello app' context. I don't mind moving it if there is a better place.

Thanks guy. This is a super helpful project!