Capybara v3.38.0 Release Notes

  • ๐Ÿš€ Release date: unreleased

    ๐Ÿ”„ Changed

    • Capybara.w3c_click_offset now defaults to true. If you need click offsets to be from the elements top left corner set it to false in your config

    โž• Added

    • ๐Ÿ‘Œ Support upcoming Selenium 4.3 changes to click offset calculations
    • click, double_click, right_click can now be called on the session to click the currently scoped element (or document)
    • Session#within now passes the scoped element to the block
    • ๐Ÿ‘Œ Support rack-test 2+
    • ๐Ÿ‘Œ Support Puma 6 - Issue #2590
    • Selenium DetachedShadowRootError is treated as an invalid element error [Perryn Fowler]

    ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Use higher precision clock in Capybara::Helpers::Timer if available
    • โœ… rack-test driver behavior with \r\n - Issue #2547 [Stefan Hoffmann]
    • โšก๏ธ Updated for deprecation of positional parameters in Selenium::WebDriver::ActionBuilder#pause