Support selenium-webdriver for capybara

Resize and render aren't supported methods for capybara drivers, this patch makes the matcher also work on the selenium driver for capybara.

While https://github.com/jnicklas/capybara/pull/1235 will solve this, for the time being you can use this patch.