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