All Versions
127
Latest Version
Avg Release Cycle
31 days
Latest Release
-
Changelog History
Page 6
Changelog History
Page 6
-
v3.7.0 Changes
๐ Release date: 2018-09-02
โ Added
Capybara.disable_animation
can be set to a CSS selector to identify which elements will have animation disabled [Michael Glass]Capybara.default_normalize_ws
option which sets whether or not text predicates and matchers (has_text?
,has_content?
,assert_text
, etc) usenormalize_ws
option by default. Defaults to false. [Stegalin Ivan]- Selector based predicates, matchers, and finders now support the
:normalize_ws
option for the:text
/:exact_text
filters. Defaults to theCapybara.default_normalize_ws
setting above. - Element
choose
/check
/uncheck
/attach_file
/fill_in
can now operate on the element they're called on or a descendant if no locator is passed.
๐ Fixed
- All CSS styles applied by the
Element#attach_file
:make_visible
option will now have!important
priority set to ensure they override any other specified style. - Firefox file inputs are only manually cleared when necessary.
-
v3.6.0 Changes
๐ Release date: 2018-08-14
โ Added
- โช Workaround geckodriver/firefox send_keys issues as much as possible using the Selenium actions API
- โช Workaround lack of HTML5 native drag and drop events when using Selenium driver with Chrome and FF >= 62
Capybara.predicates_wait
option which sets whether or not Capybaras matcher predicate methods (has_css?
,has_selector?
,has_text?
, etc.) default to using waiting/retrying behavior (defaults to true)
-
v3.5.1 Changes
๐ Release date: 2018-08-03
๐ Fixed
- Fixed misspelled method name
refute_matches_elector
=>refute_matches_selector
- Fixed misspelled method name
-
v3.5.0 Changes
๐ Release date: 2018-08-01
โ Added
- text predicates and matchers (
has_text?
,has_content?
,assert_text
, etc) now support anormalize_ws
option
๐ Fixed
attach_file
with Selenium and local Firefox 62+ now correctly generates only one change event when attaching multiple files
- text predicates and matchers (
-
v3.4.2 Changes
๐ Release date: 2018-07-24
๐ Fixed
match_xxx
selectors andmatches_xxx?
predicates work correctly with elements found using a sibling selector - Issue #2073
-
v3.4.1 Changes
๐ Release date: 2018-07-20
๐ Fixed
Session#evaluate_script
now strips the script inSession
rather than only in the Selenium driver
-
v3.4.0 Changes
๐ Release date: 2018-07-19
๐ Fixed
- ๐ Make selenium driver :backspace clear stategy work even if caret location is in middle of field content [Champier Cyril]
- Selenium issue with fieldset nested in disabled fieldset not being considered disabled
Session#evaluate_script
andElement#evaluate_script
now strip leading/trailing whitespace from scripts [Ian Lesperance]
โ Added
- โช Work around Selenium lack of support for
file_detector
with remote geckodriver #within_frame
locator is optional when only one frame exists- โ
Capybara.test_id
option that allows for matching the Capybara provided selector types on an arbitrary attribute (defaults to nil), set to your test id attribute ('data-test-id, etc) if using test id attributes in your project
-
v3.3.1 Changes
๐ Release date: 2018-06-27
๐ Fixed
selenium-webdriver
version check [ahorek]- Selenium driver correctly responds to
disabled?
for fieldset elements - Issue #2059 [Thomas Walpole]
-
v3.3.0 Changes
๐ Release date: 2018-06-25
โ Added
- โ RackTest driver now handles 307/308 redirects
execute_async_script
can now be called on elements to run the JS in the context of the element:download
filter option on `:link' selectorWindow#fullscreen
- ๐
Element#style
and associated matchers
๐ Changed
- ๐ Minimum "supported"
selenium-webdriver
is raised to 3.5.0 (but you really should be using newer than that)
๐ Fixes
- โช Selenium driver with Firefox workaround for clicking on table row - https://github.com/mozilla/geckodriver/issues/1228
- :class and :id filters applied to CSS based selectors now correctly handle the CSS comma
- Selenium driver handles namespaces when generating an elements
#path
- Issue #2048
-
v3.2.1 Changes
๐ Release date: 2018-06-04
๐ Fixes
- โช Only split CSS selectors when :class or :id options are given. Restores 3.1.1 functionality for now but the underlying issue will require a larger fix, hopefully coming soon. - Issue #2044 [Thomas Walpole]