All Versions
127
Latest Version
Avg Release Cycle
31 days
Latest Release
-

Changelog History
Page 1

  • v3.38.0 Changes

    ๐Ÿš€ 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
  • v3.37.1 Changes

    ๐Ÿš€ Release date: 2022-05-09

    ๐Ÿ›  Fixed

    • โœ… Regression in rack-test visit - Issue #2548
  • v3.37.0 Changes

    ๐Ÿš€ 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
  • v3.36.0 Changes

    ๐Ÿš€ 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
  • v3.35.3 Changes

    ๐Ÿš€ Release date: 2021-01-29

    ๐Ÿ›  Fixed

    • ๐Ÿš€ Just a release to have the correct dates in the History.md in released gem
  • v3.35.2 Changes

    ๐Ÿš€ Release date: 2021-01-29

    ๐Ÿ›  Fixed

    • ๐Ÿ—„ Selenium deprecation suppressor with Selenium 3.x
  • v3.35.1 Changes

    ๐Ÿš€ Release date: 2021-01-26

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ Default chrome driver registrations use chrome - Issue #2442 [Yuriy Alekseyev]
    • โœ… 'Capybara.test_id' usage with the :button selector - Issue #2443
  • v3.35.0 Changes

    ๐Ÿš€ 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]
    • elements don't associate with aria-role buttons
    • Ignore Selenium::WebDriver::Error::InvalidSessionIdError when quitting driver [Robin Daugherty]
    • Firefox: Don't click input when sending keys if already focused
    • Miscellaneous issues with selenium-webdriver 4.0.0.alphas
    • Nil return error in node details optimizations
    • Animation disabler now inserts XHTML compliant content [Dale Morgan]
  • v3.34.0 Changes

    ๐Ÿš€ Release date: 2020-11-26

    โž• Added

    • Ability to fill in with emoji when using Chrome with selenium driver (Firefox already worked)
    • Current path assertions/expectations accept optional filter block
    • Animation disabler now specifies scroll-behavior: auto; [Nathan Broadbent]
    • :button selector can now find elements by label text [Sean Doyle]
    • ๐Ÿ‘ Session#send_keys to send keys to the current element with focus in drivers that support the concept of a current element [Sean Doyle]

    ๐Ÿ”„ Changed

    • Text query validates the type parameter to prevent undefined behavior

    ๐Ÿ›  Fixed

    • โœ… racktest driver better handles fragments and redirection to urls that include fragments
    • Don't error when attempting to get XPath location of a shadow element
    • Missing readonly? added to Node::Simple
    • Selenium version detection when loaded via alternate method [Joel Hawksley]
    • Connection count issue if REQUEST_URI value changed by app [Blake Williams]
    • โœ… Maintain URI fragment when redirecting in rack-test driver
    • Text query error message [Wojciech Wnฤ™trzak]
    • Checking a checkbox/radio button with allow_label_click now works if there are multiple labels (Issue #2421)
    • drop with Pathname (Issue #2424)[Mรกximo Mussini]
  • v3.33.0 Changes

    June 21, 2020

    ๐Ÿš€ Release date: 2020-06-21

    โž• Added

    • Block passed to within_session now receives the new and old session
    • ๐Ÿ‘Œ Support for aria-role button when enabled [Seiei Miyagi]
    • ๐Ÿ‘Œ Support for aria-role link when enabled
    • Support for validation_message filter with :field and :fillable_field selectors
    • ๐Ÿ—„ Deprecation warnings show source location [Koichi ITO]

    ๐Ÿ”„ Changed

    • ๐Ÿ’Ž Ruby 2.5.0+ is now required
    • ๐Ÿ—„ Deprecated direct manipulation of the driver and server registries

    ๐Ÿ›  Fixed

    • โœ… Ruby 2.7 warning in minitest assert_text [Eileen M. Uchitelle]