Capybara v3.34.0 Release Notes
-
🚀 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]