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 ofuse_html5_parsing=
to enable use of Nokogiri::HTML5 when available - โ
Session#active_element
returns the element with focus - Not supported by theRackTest
driver [Sean Doyle] - ๐ Support
focused:
filter for finding interactive elements - Not supported by theRackTest
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 #2477have_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