jnicklas/capybara — Issue #650: Support html5 input type field matchers
Author: grzuy
Created: 2012-02-29 02:46:18+00:00
State: open

It would be great to have matchers for email, search, phone, etc type inputs.

Could be something like:
```
has_email_field?('Input you email')
has_search_field?('Search')
has_phone_field?('Phone number')
```
Another way to support this could be adding a custom filter named ```:type``` to the ```:field``` selector.

Thoughts?