Capybara v3.36.0 Release Notes

  • ๐Ÿš€ Release date: 2021-10-24

    ๐Ÿ”„ Changed

    • ๐Ÿ’Ž Ruby 2.6.0+ is now required
    • ๐Ÿ‘ Minimum selenium-webdriver supported is now 3.142.7

    โž• Added

    • ๐Ÿ‘Œ Support for selenium-webdriver 4.x
    • 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::HTML5 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]
    • ๐Ÿ‘‰ Use capture on attach file event listener for better React compatibility [Jeff Way]
    • Animation disabler produces valid HTML [Javi Martin]

    โœ‚ 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