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
Version 3.36.0
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
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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps capybara from 3.35.3 to 3.37.0.
Changelog
Sourced from capybara's changelog.
Commits
ac0ab33
Prepare for 3.37.0 release34493f0
minor style updates5c8e975
Support Regexp forexact_text
option2fece8d
Add some tests for shadow DOM element interactiona9cfb0a
Merge pull request #2546 from teamcapybara/shadow836a416
Add initial Element#shadow_root support780d578
Update History.md70ab439
Minor code cleanup71770a1
Insert nonces in animation disabler if available1c164b6
Merge pull request #2545 from teamcapybara/work_on_3_37Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)