senny / corner_stones

capybara building blocks for acceptance tests.
18 stars 8 forks source link

automatically detect field types #11

Closed stmichael closed 12 years ago

stmichael commented 12 years ago

In the next release of capybara, the code to fetch the form fields can be simplified.

#current
find(:xpath, XPath::HTML.fillable_field(locator)

#new
find(:fillable_field, locator)