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