---
title: "cuprite 0.22 Breaking Changes on RubyGems | Since.dev"
description: "What each cuprite release removed, renamed or changed: 61 breaking changes in 8 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/cuprite
last_updated: 2026-12-04
---

# 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

Latest version `1.0`. [Source repository](https://github.com/rubycdp/cuprite)

Its 0.20 release requires [Ruby 3.2](https://since.dev/calendar/ruby/3.2.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.15](#v-0-15) to [0.22](#v-0-22): 58 breaking changes in 7 versions.

## cuprite 0.22 breaking changes

cuprite 0.22, released December 1, 2026: 11 breaking changes.

- **Removed** `Capybara.Cuprite.Browser`  

Capybara::Cuprite::Browser is gone. Use Ferrum's driver.browser instead. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **Removed** `Capybara.Cuprite.Browser.Extensions`  

Capybara::Cuprite::Browser::Extensions is gone. Use Ferrum's driver.browser and driver.current_page instead. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **Removed** `Capybara.Cuprite.Page`  

Capybara::Cuprite::Page is gone. Use Ferrum's driver.current_page instead. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **Removed** `CUPRITE_DEBUG`  

CUPRITE_DEBUG was deprecated in 0.21 and is gone; use CUPRITE_LOG=\* instead. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **Behavior changed** `browser.go_to`  

browser.go_to no longer raises PendingConnectionsError; visit raises it instead. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **Behavior changed** `browser.resize`  

browser.resize no longer keeps the :mobile and :scale_factor settings. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **Behavior changed** `browser.set_viewport`  

browser.set_viewport no longer keeps the :mobile and :scale_factor settings. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **Behavior changed** `Capybara.Cuprite.PendingConnectionsError`  

Capybara::Cuprite::PendingConnectionsError no longer subclasses Ferrum::PendingConnectionsError. Rescue Cuprite's error or Ferrum::StatusError instead. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.22)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.22)

## cuprite 0.21 breaking changes

cuprite 0.21, released November 25, 2026: 8 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](https://github.com/rubycdp/cuprite/releases/tag/v0.21)
- **Removed** `CUPRITE_TRIGGER_CLICK_WAIT`  

Use Ferrum's FERRUM_NAVIGATION_WAIT instead, which real clicks use too. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.21)
- **Removed** `url_blacklist`  

String patterns for url_blacklist and url_whitelist now raise ArgumentError. Pass regexps instead. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.21)
- **Renamed** `CUPRITE_DEBUG`  

CUPRITE_LOG takes FERRUM_LOG values and passes them on. CUPRITE_DEBUG is deprecated and acts as CUPRITE_LOG=\*. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.21)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.21)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.21)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.21)
- **Behavior changed** `url_blacklist`  

Setting :url_blacklist and :url_whitelist driver options together now raises ArgumentError. Set only one of them. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.21)

## cuprite 0.20 breaking changes

cuprite 0.20, released October 30, 2026: 28 breaking changes.

- **Removed**  

Cuprite now requires Ruby 3.2 or newer. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.accept_confirm`  

It was an internal delegate to Page and is gone. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.accept_prompt`  

It was an internal delegate to Page and is gone. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.active_element`  

Browser#active_element is removed. Use Capybara's active_element instead. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.browser_error`  

It was used only in specs and is gone. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.dismiss_confirm`  

It was an internal delegate to Page and is gone. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.dismiss_prompt`  

It was an internal delegate to Page and is gone. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.find`  

Browser#find is private now, so code calling it directly will break. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.find_modal`  

It was an internal delegate to Page and is gone. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)
- **Removed** `Browser.reset_modals`  

The method was unused and is gone. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.20)

And 18 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## cuprite 0.19 breaking changes

cuprite 0.19, released October 16, 2026: 5 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](https://github.com/rubycdp/cuprite/releases/tag/v0.19)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.19)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.19)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.19)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.19)

## cuprite 0.18 breaking changes

cuprite 0.18, released September 3, 2026: 4 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](https://github.com/rubycdp/cuprite/releases/tag/v0.18)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.18)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.18)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.18)

## cuprite 0.17 breaking changes

cuprite 0.17, released May 11, 2025: 1 breaking change.

- **Removed** `inspector`  

The :inspector option is retired and no longer has an effect; remove it from your Cuprite driver configuration. [github.com](https://github.com/rubycdp/cuprite/releases/tag/v0.17)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### cuprite 0.16 breaking changes

cuprite 0.16, released May 10, 2025: 1 breaking change.

- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.16)

### cuprite 0.15 breaking changes

cuprite 0.15, released November 4, 2023: 3 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](https://github.com/rubycdp/cuprite/releases/tag/v0.15)
- **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](https://github.com/rubycdp/cuprite/releases/tag/v0.15)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
