# Version 3.37.0 Release date: unreleased ### Changed * Ruby 2.7.0+ is now required ### Added * [Beta] CSP nonces inserted into animation disabler additions - Issue #2542 * Support `` element in rack-test driver - ISsue #2544 * [Beta] `Element#shadow_root` support. Requires selenium-webdriver 4.1+. Only currently supported with Chrome when using the selenium driver. Note: only CSS can be used to find elements inside the shadow dom so you won't be able to use most Capybara helper methods (`fill_in`, `click_link`, `find_field`, etc) since those locators are built using XPath. Stick to `find(:css, ...)` and direct interaction methods. ### Fixed * Fragments in referer headers in rack-test driver - Issue #2525 * Selenium v4.1 deprecation notice # Version 3.36.0 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 # Version 3.35.3 Release date: 2021-01-29 ### Fixed * Just a release to have the correct dates in the History.md in released gem # Version 3.35.2 Release date: 2021-01-29 ### Fixed * Selenium deprecation suppressor with Selenium 3.x # Version 3.35.1 Release date: 2021-01-26 ### Fixed * Default chrome driver registrations use chrome - Issue #2442 [Yuriy Alekseyev] * 'Capybara.test_id' usage with the :button selector - Issue #2443 # Version 3.35.0 Release date: 2021-01-25 ### Added * Support Regexp matching for individual class names in :class filter passed an Array * Animation disabler now supports JQuery animation disabling when JQuery loaded from body [Chien-Wei Huang] ### Fixed * :button selector type use with `enable_aria_role` [Sean Doyle] *