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

# ferrum breaking changes

ferrum 0.22.0 (December 1, 2026) is its newest release with breaking changes, 35 of them. The first: Removed :js_errors. Every breaking API change we have recorded in ferrum on RubyGems: 121 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

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

Its 0.20.0 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.12](#v-0-12) to [0.22.0](#v-0-22-0): 109 breaking changes in 10 versions.

## ferrum 0.22.0 breaking changes

ferrum 0.22.0, released December 1, 2026: 35 breaking changes.

- **Removed** `:js_errors`  

Uncaught exceptions are now in page.console with source: :exception. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `:pending_connection_errors`  

Use go_to!, which raises NavigationTimeoutError. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `:protocol_timeout`  

Those settings were ignored; :timeout bounds everything else. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `accessibility.enable`  

Use accessibility.enabled = true or false. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `body`  

Use html, resource_type and resource_type? instead; nothing raises NotImplementedError now. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `click`  

Use navigation_wait: instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `contexts.each`  

each yields the context only; use context.id for the id. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `cookies.all`  

Use to_a, or map(&:name) for the names. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `current_url`  

Use url and title instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `disable_javascript`  

Use javascript = false, bypass_csp =, cache =, offline = true and throttle instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `FERRUM_DEBUG`  

Use FERRUM_LOG=\* instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `frame.set_content`  

Use content= instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `goto`  

Use go_to, refresh and refresh! instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `mouse.scroll_by`  

Pass x: and y: keyword arguments instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `Network.AUTHORIZE_BLOCK_MISSING`  

authorize no longer needs a block, so this constant is removed. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `node.find_position`  

Use pinpoint instead; its offsets are measured from the center unless position: :top. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `node.scroll_into_view`  

Use scroll, ax_node and property(name) instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `page.close_connection`  

A page's events stop once Chrome detaches it, so close_connection is gone for pages and workers. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `request_id`  

Use id, body and time instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `target.window?`  

Use target.opener_id, await_page or pages(&:opener_id) instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `wait_for_navigation`  

Use await_navigation, wait_css, wait_xpath, wait_idle, page.await_download and wait_still instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Removed** `windows`  

Items deprecated in 0.21 were removed, including windows, target.window? and the options listed in the release notes. [github.com](https://github.com/rubycdp/ferrum/commit/bb212bb24232592398250ac84fd402131b0c139d)
- **Renamed** `page.downloads`  

set_behavior is now called on context.downloads or browser.downloads, not page.downloads. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Renamed** `set_behavior`  

Use :allow_and_name instead of :allowAndName; save_path is needed only for :allow and :allow_and_name. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed**  

A wss:// connection verifies the certificate and host name and sends SNI; a self-signed browser needs the ssl_context option. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed**  

wss:// connections now verify certificates and host names; self-signed setups need the ssl_context option. [github.com](https://github.com/rubycdp/ferrum/commit/77ad98c5dd830d711540038bf721f87cd90c78b1)
- **Behavior changed** `authorize`  

Auth challenges and URLs outside a pattern given to intercept are no longer handled; widen the pattern and filter with match?. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed** `await_download`  

await_download returns Ferrum::Download objects instead of event hashes. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed** `cookies.remove`  

cookies.remove without :domain or :url now raises ArgumentError instead of RuntimeError or Ferrum::Error. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed** `downloads.files`  

downloads.files returns Ferrum::Download objects instead of event hashes; use path, state or to_h for the raw params. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed** `ExecutionContextDestroyedError`  

A command cut off by a navigation raises Ferrum::ExecutionContextDestroyedError instead of NodeNotFoundError, so code rescuing the old class must change. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed** `ForeignObjectError`  

A Node or RemoteObject from another page or isolated world raises Ferrum::ForeignObjectError instead of Ferrum::NodeNotFoundError. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed** `headers`  

Headers set through headers only apply to requests; use network.emulate(user_agent:, accept_language:) to override navigator values. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed** `network.intercept`  

The first on(:request) or on(:auth) enables interception, and intercept only narrows what is paused. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)
- **Behavior changed** `window_bounds`  

window_bounds now returns symbol keys and window_state: in the shape window_bounds= takes, not CDP string keys. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.22.0)

## ferrum 0.21.0 breaking changes

ferrum 0.21.0, released November 24, 2026: 31 breaking changes.

- **Removed** `:browser_name`  

Set :browser_path to run another browser such as Opera or Edge. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `Browser.Options.Base`  

Use Browser::Options::Chrome, which has everything Base had. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `cookie.same_party?`  

Chrome dropped SameParty cookies, so this method was removed. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `cookie.sameparty?`  

Chrome dropped SameParty cookies, so this method was removed. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `evaluate_async`  

Use evaluate and Node#evaluate instead of evaluate_async. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `evaluate_func`  

Use evaluate and Node#evaluate instead of evaluate_func. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `evaluate_on`  

Use Node#evaluate instead, and page.await_navigation! for the wait: behavior. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `FERRUM_JS_API`  

The FERRUM_JS_API environment variable no longer has any effect and was removed. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `Ferrum.ServerError`  

Nothing raised this error, so it was removed. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)
- **Removed** `headers.add`  

Pass referrer: to go_to instead of permanent: on headers.add. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.21.0)

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

## ferrum 0.20.0 breaking changes

ferrum 0.20.0, released October 26, 2026: 17 breaking changes.

- **Removed**  

Ferrum now requires Ruby 3.2 or newer, so Ruby 3.1 users must upgrade Ruby. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Removed** `Browser.Process.browser_version`  

Browser::Process#browser_version is removed. Use Browser#version instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Removed** `Browser.Process.default_user_agent`  

Browser::Process#default_user_agent is removed. Use Browser#default_user_agent instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Removed** `Browser.Process.protocol_version`  

Browser::Process#protocol_version is removed. Use Browser#version instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Removed** `Browser.Process.v8_version`  

Browser::Process#v8_version is removed. Use Browser#version instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Removed** `Browser.Process.webkit_version`  

Browser::Process#webkit_version is removed. Use Browser#version instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Removed** `FERRUM_LOGGING_SCREENSHOTS`  

The FERRUM_LOGGING_SCREENSHOTS variable is gone. Use FERRUM_LOG_VALUE_LENGTH to control logged string length. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Behavior changed** `:logger`  

The logger no longer prints \[log\] lines for console calls. Use page.on(:console) to receive them. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Behavior changed** `Browser.new`  

Extension files are now read in Browser.new, so a missing file raises Errno::ENOENT there instead of on first navigation. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)
- **Behavior changed** `evaluate`  

Dates come back as ISO 8601 strings, and cyclic results are Hash or Array with CyclicObject only where they refer back to themselves. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.20.0)

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

## ferrum 0.19.0 breaking changes

ferrum 0.19.0, released October 15, 2026: 7 breaking changes.

- **Removed** `--no-crashpad`  

The flag was not a Chromium switch and is no longer added by default. Crashpad handler processes must be reaped with an init process in the container. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.19.0)
- **Removed** `--remote-debugging-address`  

Chrome no longer honors this flag, so Ferrum no longer passes it. Code that relied on it must use the :host option instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.19.0)
- **Removed** `browser_name: :firefox`  

Ferrum is now Chrome/CDP only. Code using browser_name: :firefox must switch to Chrome. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.19.0)
- **Behavior changed** `Ferrum.Frame.Runtime.call`  

Evaluations on an existing node (on:) now raise NodeNotFoundError or NoExecutionContextError immediately instead of retrying; callers that relied on retries must re-find the node. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.19.0)
- **Behavior changed** `Ferrum.Page.set_viewport`  

Passing mobile: now turns on touch emulation as well as the device metrics override. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.19.0)
- **Behavior changed** `Ferrum.Page.Stream.stream`  

Once fully read, the stream handle is closed, and a failed close is now raised to the caller. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.19.0)
- **Behavior changed** `Ferrum.Target.context_id`  

For a page in the implicit browser context, context_id is now nil, and code that used it as an id must handle nil. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.19.0)

## ferrum 0.18.0 breaking changes

ferrum 0.18.0, released August 20, 2026: 6 breaking changes.

- **Removed**  

The webrick gem was dropped from the gemspec. Projects that use Ferrum::Proxy must add gem "webrick" to their Gemfile. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.18.0)
- **Behavior changed**  

Logger output for Runtime.consoleAPICalled now includes the console API type and stack trace call frames. Code that parses this log output may need updating. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.18.0)
- **Behavior changed** `Ferrum.Dialog.match?`  

String patterns are now compared literally, using substring match for dialog messages. Code relying on the previous matching must pass a Regexp instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.18.0)
- **Behavior changed** `Ferrum.Network.AuthRequest.match?`  

String patterns now compare literally, using exact match for auth requests. Code relying on the previous matching must pass a Regexp instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.18.0)
- **Behavior changed** `Ferrum.Network.InterceptedRequest.match?`  

String patterns are no longer converted to regexps when they contain regexp metacharacters, so they are compared literally. Code relying on regexp matching of such strings must pass a Regexp instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.18.0)
- **Default changed** `pending_connection_errors`  

Ferrum::Browser option :pending_connection_errors is now false by default. Set it to true explicitly if you relied on the old default. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.18.0)

## ferrum 0.17 breaking changes

ferrum 0.17, released May 10, 2025: 2 breaking changes.

- **Removed** `headless`  

The headless: "new" mode is removed because it is now the default in modern Chrome. Use headless: true instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.17)
- **Behavior changed** `Ferrum.Network.Exchange.finished?`  

Exchange#finished? now considers an exchange finished when it is in an unknown state after the loader changed, such as after a go_to call. Code that waits on finished? may see different results. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.17)

## Older versions

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

### ferrum 0.16 breaking changes

ferrum 0.16, released December 1, 2024: 1 breaking change.

- **Behavior changed** `Ferrum.Network.wait_for_idle`  

Ferrum::Network#wait_for_idle no longer raises an error when the timeout is reached; it returns true or false. Code that rescues that error must switch to wait_for_idle!, which still raises. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.16)

### ferrum 0.15 breaking changes

ferrum 0.15, released February 17, 2024: 5 breaking changes.

- **Renamed** `Ferrum.Browser.Client`  

The class Ferrum::Browser::Client is now named Ferrum::Client. Update references to the new name. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.15)
- **Renamed** `Ferrum.Page.set_window_bounds`  

The method set_window_bounds was renamed to the setter window_bounds=. Update calls to use the new name. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.15)

And 3 more in this version.

### ferrum 0.14 breaking changes

ferrum 0.14, released September 14, 2023: 1 breaking change.

- **Behavior changed** `Ferrum.StatusError`  

Any top frame navigation error now raises Ferrum::StatusError. Code that expected such navigation errors to pass silently should rescue this exception. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.14)

### ferrum 0.13 breaking changes

ferrum 0.13, released November 12, 2022: 4 breaking changes.

- **Removed** `Ferrum.Browser.new`  

The proxy server option was removed from Ferrum::Browser.new in v0.13. Remove it from code that passes it. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.13)
- **Removed** `Ferrum.Browser.proxy_server`  

The proxy_server method was removed in v0.13. Stop calling it; use the proxy option of create_page instead. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.13)

And 2 more in this version.

### ferrum 0.12 breaking changes

ferrum 0.12, released September 13, 2022: 12 breaking changes.

- **Removed**  

The package now requires Ruby 2.6 or later. Older Ruby versions are no longer supported. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.12)
- **Renamed** `Ferrum.Context.has_target?`  

The method Ferrum::Context#has_target? is renamed to Ferrum::Context#target?. Update calls to use the new name. [github.com](https://github.com/rubycdp/ferrum/releases/tag/v0.12)

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