cuprite breaking changes
cuprite 0.22 (December 1, 2026) is its newest release with breaking changes, 11 of them. The first: Removed Capybara.Cuprite.Browser. Every breaking API change we have recorded in cuprite on RubyGems: 61 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.0. Source repository
Its 0.20 release requires Ruby 3.2 or later. Ruby end of life dates.
cuprite 0.22 breaking changes
- Removed
Capybara.Cuprite.Browser
Capybara::Cuprite::Browser is gone. Use Ferrum's driver.browser instead. github.com - Removed
Capybara.Cuprite.Browser.Extensions
Capybara::Cuprite::Browser::Extensions is gone. Use Ferrum's driver.browser and driver.current_page instead. github.com - Removed
Capybara.Cuprite.Page
Capybara::Cuprite::Page is gone. Use Ferrum's driver.current_page instead. github.com - Removed
CUPRITE_DEBUG
CUPRITE_DEBUG was deprecated in 0.21 and is gone; use CUPRITE_LOG=* instead. github.com - Behavior changed
UnhandledModalError is raised from Capybara's calls such as visit, finders, node actions, evaluate_script and execute_script, not from Ferrum calls. github.com - Behavior changed
browser.go_to
browser.go_to no longer raises PendingConnectionsError; visit raises it instead. github.com - Behavior changed
browser.resize
browser.resize no longer keeps the :mobile and :scale_factor settings. github.com - Behavior changed
browser.set_viewport
browser.set_viewport no longer keeps the :mobile and :scale_factor settings. github.com - Behavior changed
Capybara.Cuprite.PendingConnectionsError
Capybara::Cuprite::PendingConnectionsError no longer subclasses Ferrum::PendingConnectionsError. Rescue Cuprite's error or Ferrum::StatusError instead. github.com - Behavior changed
driver.browser
driver.browser returns a plain Ferrum::Browser, and its page is the first window. Use driver.current_page for the window Capybara switched to. github.com - Behavior changed
reset!
A browser that died is now restarted by reset! before the next test, so the test it died in fails with Ferrum::DeadBrowserError. github.com
cuprite 0.21 breaking changes
- Removed
CUPRITE_MODAL_WAIT
accept_* and dismiss_* now find the dialog as soon as it is answered, so this variable no longer has any effect. github.com - Removed
CUPRITE_TRIGGER_CLICK_WAIT
Use Ferrum's FERRUM_NAVIGATION_WAIT instead, which real clicks use too. github.com - Removed
url_blacklist
String patterns for url_blacklist and url_whitelist now raise ArgumentError. Pass regexps instead. github.com - Renamed
CUPRITE_DEBUG
CUPRITE_LOG takes FERRUM_LOG values and passes them on. CUPRITE_DEBUG is deprecated and acts as CUPRITE_LOG=*. github.com - Behavior changed
browser.options
Cuprite's own options moved to Browser::Settings, so browser.options holds only Ferrum's options. browser.default_user_agent is Chrome's even with emulate:. github.com - Behavior changed
Node.send_keys
Node#send_keys now focuses an element without focus rather than clicking it, so checkboxes are not toggled and links are not followed. github.com - Behavior changed
set
Calling set with an Array on a field without multiple now raises ArgumentError, as Selenium does. Pass a single value. github.com - Behavior changed
url_blacklist
Setting :url_blacklist and :url_whitelist driver options together now raises ArgumentError. Set only one of them. github.com
cuprite 0.20 breaking changes
- Removed
Cuprite now requires Ruby 3.2 or newer. github.com - Removed
Browser.accept_confirm
It was an internal delegate to Page and is gone. github.com - Removed
Browser.accept_prompt
It was an internal delegate to Page and is gone. github.com - Removed
Browser.active_element
Browser#active_element is removed. Use Capybara's active_element instead. github.com - Removed
Browser.browser_error
It was used only in specs and is gone. github.com - Removed
Browser.dismiss_confirm
It was an internal delegate to Page and is gone. github.com - Removed
Browser.dismiss_prompt
It was an internal delegate to Page and is gone. github.com - Removed
Browser.find
Browser#find is private now, so code calling it directly will break. github.com - Removed
Browser.find_modal
It was an internal delegate to Page and is gone. github.com - Removed
Browser.reset_modals
The method was unused and is gone. github.com
And 18 more in this version. Sign up to see every change
cuprite 0.19 breaking changes
- Behavior changed
The browser now runs with web security disabled by default, so cross-origin frames can be reached from code that previously could not. github.com - Behavior changed
Driver.window_handles
Web workers a page spawns are no longer returned by window_handles, so window_opened_by counts only real windows. github.com - Behavior changed
Node.drag_to
A drag onto an HTML5 drop target now ends with drop if the target accepted it, otherwise with dragleave, instead of always firing dragleave before drop. github.com - Behavior changed
Node.send_keys
Calling send_keys(:tab) without an element no longer clicks the middle of the page first, so Tab now moves focus from the start of the page. github.com - Behavior changed
Node.visible?
An open popover or modal dialog under an ancestor with opacity 0 is now reported as visible instead of hidden. github.com
cuprite 0.18 breaking changes
- Behavior changed
Focus, blur, focusin and focusout events are now generated as FocusEvent objects rather than generic Event objects. Listeners that check the event type may behave differently. github.com - Behavior changed
Capybara.Cuprite.Node
Using a node that was removed from the DOM after being found now raises ObsoleteNode rather than silently acting on it. Code that relied on the silent behavior must handle the exception. github.com - Behavior changed
Capybara.Cuprite.Node.set
Node#set on a color input now dispatches input and change events. Event listeners on color inputs will now run when set is called. github.com - Behavior changed
Capybara.Cuprite.Node.tag_name
tag_name for shadow root nodes now returns "ShadowRoot" instead of the previous value. Code comparing tag names for these nodes must be updated. github.com
cuprite 0.17 breaking changes
- Removed
inspector
The :inspector option is retired and no longer has an effect; remove it from your Cuprite driver configuration. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
cuprite 0.16 breaking changes
- Behavior changed
wait_for_network_idle
wait_for_network_idle no longer raises an error when it fails; it simply returns nil. Code that rescues that error or expects it to be raised must check the return value instead. github.com
cuprite 0.15 breaking changes
- Removed
Ruby 2.6 is no longer supported, so code running on Ruby 2.6 must upgrade Ruby before using this release. github.com - Renamed
blacklist
The new url_allowlist and url_blocklist names are aliases for whitelist and blacklist; the old names still appear to work, but new code should use the new names. github.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.