Capybara v3.0.0.rc1 Release Notes

  • ๐Ÿš€ Release date: 2018-03-02

    โž• Added

    • Support for libraries wrapping Capybara elements and providing a #to_capybara_node method

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ first now raises ElementNotFound, by default, instead of returning nil when no matches are found - Issue #1507
    • 0๏ธโƒฃ 'all' now waits for at least one matching element by default. Pass wait: false if you want the previous behavior where an empty result would be returned immediately if no matching elements exist yet.
    • ArgumentError raised if extra parameters passed to selector queries

    โœ‚ Removed

    • ๐Ÿ’Ž Ruby < 2.2.2 support
    • Capybara.exact_options no longer exists. Just use exact: true on relevant actions/finders if necessary.
    • ๐Ÿšš All previously deprecated methods removed
    • ๐Ÿ‘ RSpec 2.x support
    • ๐Ÿ‘ selenium-webdriver 2.x support
    • ๐Ÿ‘ Nokogiri < 1.8 support
    • field_labeled alias for find_field