-
Expose Capybara DSL methods directly inside tests.
The following Capybara methods are now available directly without having to use the
page
method:all
first
text
find
find_all
find_button
find_by_id
find_field
find_link
has_content?
has_text?
has_css?
has_no_content?
has_no_text?
has_no_css?
has_no_xpath?
has_xpath?
has_link?
has_no_link?
has_button?
has_no_button?
has_field?
has_no_field?
has_checked_field?
has_unchecked_field?
has_no_table?
has_table?
has_select?
has_no_select?
has_selector?
has_no_selector?
has_no_checked_field?
has_no_unchecked_field?
-
Add support for
within*
Capybara DLS methods:-
Jacob Carlborg