Capybara v3.37.0 Release Notes
-
๐ Release date: 2022-05-07
๐ Changed
- ๐ Ruby 2.7.0+ is now required
โ Added
- [Beta] CSP nonces inserted into animation disabler additions - Issue #2542
- ๐ Support
<base>
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 from the shadow root. Therefore you won't be able to use most Capybara helper methods (fill_in
,click_link
,find_field
, etc) directly from the shadow root since those locators are built using XPath. If you first locate a descendant from the shadow root using CSS then you should be able to use all the Capybara methods from there. - ๐ Regexp now supported for
exact_text
finder option
๐ Fixed
- โ Fragments in referer headers in rack-test driver - Issue #2525
- ๐ Selenium v4.1 deprecation notice