All Versions
127
Latest Version
Avg Release Cycle
31 days
Latest Release
-
Changelog History
Page 1
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 ofuse_html5_parsing=
to enable use of Nokogiri::HTML5 when available - โ
Session#active_element
returns the element with focus - Not supported by theRackTest
driver [Sean Doyle] - ๐ Support
focused:
filter for finding interactive elements - Not supported by theRackTest
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 #2477have_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
withPathname
(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]
- Block passed to