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

# capybara breaking changes

capybara 3.0.0 (April 5, 2018) is its newest release with breaking changes. The first: Selenium driver closes extra windows only for Firefox and Chrome in capybara 3.0.0. Every breaking API change we have recorded in capybara on RubyGems: 46 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.40.0`. [Source repository](https://github.com/teamcapybara/capybara)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 12 breaking changes in 3 versions.
- From [0.4.0](#v-0-4-0) to [3.0.0](#v-3-0-0): 37 breaking changes in 5 versions.

## capybara 3.0.0 breaking changes

capybara 3.0.0, released April 5, 2018: 1 breaking change.

- **Behavior changed**  

The Selenium driver closes extra windows only for browsers where this is known to work, such as Firefox and Chrome. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)

## capybara 3.0.0.rc2 breaking changes

capybara 3.0.0.rc2, released April 5, 2018: 4 breaking changes.

- **Behavior changed**  

Drivers are now expected to close extra windows on session reset. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Behavior changed**  

Drivers now return visible text in line with the WebDriver spec, which can change text comparisons. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Behavior changed** `current_url`  

current_url now returns the URL of the top-level browsing context rather than the current frame. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Behavior changed** `title`  

title now returns the title of the top-level browsing context rather than the current frame. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)

## capybara 3.0.0.rc1 breaking changes

capybara 3.0.0.rc1, released April 5, 2018: 7 breaking changes.

- **Removed**  

Ruby versions older than 2.2.2 are no longer supported. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Removed**  

Methods that were deprecated earlier are gone and must no longer be called. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Removed** `Capybara.exact_options`  

Use exact: true on the relevant actions or finders instead. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Removed** `field_labeled`  

Use find_field instead of field_labeled. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Behavior changed**  

Passing extra parameters to selector queries now raises ArgumentError. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Behavior changed** `all`  

all waits for a match by default. Pass wait: false to get the old immediate empty result. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)
- **Behavior changed** `first`  

When no element matches, first now raises ElementNotFound by default. Code that expects nil must rescue the error or pass a different option. [github.com](https://github.com/teamcapybara/capybara/blob/3.0.0/History.md)

## capybara 2.0.0 breaking changes

capybara 2.0.0, released November 14, 2012: 19 breaking changes.

- **Removed**  

Official support for Ruby 1.8.x was dropped. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Removed** `Capybara.prefer_visible_elements`  

The setting was removed because find semantics changed. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Removed** `Capybara.server_boot_timeout`  

The option was removed in favor of a hard-coded 60-second timeout. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Removed** `Capybara.timeout`  

The Capybara.timeout setting was removed. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Removed** `failure_message`  

Custom selectors can no longer specify failure_message. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Removed** `has_table?`  

The rows option to has_table? was removed without replacement. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Removed** `Node.wait_until`  

Node#wait_until was removed; use Node#synchronize instead. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Removed** `resynchronize`  

The :resynchronize option was removed from the Selenium driver. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Removed** `Session.wait_until`  

Session#wait_until was removed; use Node#synchronize instead. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)
- **Renamed** `Driver.body`  

Driver#body was renamed to Driver#html; this matters only to driver authors. [github.com](https://github.com/teamcapybara/capybara/blob/2.0.0/History.md)

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

## capybara 1.0.0 breaking changes

capybara 1.0.0, released June 14, 2011: 6 breaking changes.

- **Removed** `Capybara.Driver.RackTest`  

The Rack test driver class moved from Capybara::Driver::RackTest to Capybara::RackTest::Driver; update code that references the old name. [github.com](https://github.com/teamcapybara/capybara/blob/1.0.0/History.txt)
- **Removed** `Culerity`  

The Culerity and Celerity drivers were split into separate gems and are no longer included; install those gems separately. [github.com](https://github.com/teamcapybara/capybara/blob/1.0.0/History.txt)
- **Renamed** `Capybara.Driver.Selenium`  

The Selenium driver class moved from Capybara::Driver::Selenium to Capybara::Selenium::Driver; update code that references the old name. [github.com](https://github.com/teamcapybara/capybara/blob/1.0.0/History.txt)
- **Behavior changed** `:acceptance`  

For RSpec, :type => :request is now supported and preferred over :acceptance. [github.com](https://github.com/teamcapybara/capybara/blob/1.0.0/History.txt)
- **Behavior changed** `Capybara.Session.body`  

Session#html added as alias for body in capybara 1.0.0 [github.com](https://github.com/teamcapybara/capybara/blob/1.0.0/History.txt)
- **Default changed** `Capybara.prefer_visible_elements`  

Capybara now prefers visible elements over hidden ones; set Capybara.prefer_visible_elements = false to keep the old behavior. [github.com](https://github.com/teamcapybara/capybara/blob/1.0.0/History.txt)

## capybara 0.4.0 breaking changes

capybara 0.4.0, released October 22, 2010: 1 breaking change.

- **Renamed** `Capybara.Selector.add`  

Register custom selectors with Capybara.add_selector as described in the README; the old API is replaced. [github.com](https://github.com/teamcapybara/capybara/blob/0.4.0/History.txt)

## Older versions

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

### capybara 0.4.0.rc breaking changes

capybara 0.4.0.rc, released October 22, 2010: 8 breaking changes.

- **Renamed** `Node.node`  

Call native instead of node on nodes. [github.com](https://github.com/teamcapybara/capybara/blob/0.4.0/History.txt)
- **Renamed** `Session.click`  

Use click_link_or_button; the old click method is deprecated. [github.com](https://github.com/teamcapybara/capybara/blob/0.4.0/History.txt)

And 6 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.
