Capybara v3.36.0 Release Notes

  • 🚀 Release date: unreleased

    🔄 Changed

    • 💎 Ruby 2.6.0+ is now required

    ➕ Added

    • allow_label_click accepts click options to be used when clicking an associated label
    • Deprecated allow_gumbo= in favor of use_html5_parsing= to enable use of Nokogiri::HTL5 when available
    • Session#active_element returns the element with focus - Not supported by the RackTest driver [Sean Doyle]
    • 👌 Support focused: filter for finding interactive elements - Not supported by the RackTest driver [Sean Doyle]

    🛠 Fixed

    • Sibling and ancestor queries now work with Simple::Node - Issue #2452
    • ✅ rack_test correctly ignores readonly attribute on specific input element types
    • Node#all_text always returns a string - Issue #2477
    • have_any_of_selectors negated match - Issue #2473
    • 🛠 Document#scroll_to fixed for standards behavior - pass quirks: true if you need the older behavior [Eric Anderson]

    ✂ Removed

    • ✅ References to non-w3c mode in drivers/tests. Non-w3c mode is obsolete and no one should be using it anymore. Capybara hasn't been testing/supporting it in a while