ferrum breaking changes
Updated December 4, 2026
On this page
Latest version 1.0.0. Source repository
Its 0.20.0 release requires Ruby 3.2 or later. Ruby end of life dates.
ferrum 0.22.0 breaking changes
- Removed
:js_errors
Uncaught exceptions are now in page.console with source: :exception. github.com - Removed
:pending_connection_errors
Use go_to!, which raises NavigationTimeoutError. github.com - Removed
:protocol_timeout
Those settings were ignored; :timeout bounds everything else. github.com - Removed
accessibility.enable
Use accessibility.enabled = true or false. github.com - Removed
body
Use html, resource_type and resource_type? instead; nothing raises NotImplementedError now. github.com - Removed
click
Use navigation_wait: instead. github.com - Removed
contexts.each
each yields the context only; use context.id for the id. github.com - Removed
cookies.all
Use to_a, or map(&:name) for the names. github.com - Removed
current_url
Use url and title instead. github.com - Removed
disable_javascript
Use javascript = false, bypass_csp =, cache =, offline = true and throttle instead. github.com - Removed
FERRUM_DEBUG
Use FERRUM_LOG=* instead. github.com - Removed
frame.set_content
Use content= instead. github.com - Removed
goto
Use go_to, refresh and refresh! instead. github.com - Removed
mouse.scroll_by
Pass x: and y: keyword arguments instead. github.com - Removed
Network.AUTHORIZE_BLOCK_MISSING
authorize no longer needs a block, so this constant is removed. github.com - Removed
node.find_position
Use pinpoint instead; its offsets are measured from the center unless position: :top. github.com - Removed
node.scroll_into_view
Use scroll, ax_node and property(name) instead. github.com - Removed
page.close_connection
A page's events stop once Chrome detaches it, so close_connection is gone for pages and workers. github.com - Removed
request_id
Use id, body and time instead. github.com - Removed
target.window?
Use target.opener_id, await_page or pages(&:opener_id) instead. github.com - Removed
wait_for_navigation
Use await_navigation, wait_css, wait_xpath, wait_idle, page.await_download and wait_still instead. github.com - Removed
windows
Items deprecated in 0.21 were removed, including windows, target.window? and the options listed in the release notes. github.com - Renamed
page.downloads
set_behavior is now called on context.downloads or browser.downloads, not page.downloads. github.com - Renamed
set_behavior
Use :allow_and_name instead of :allowAndName; save_path is needed only for :allow and :allow_and_name. github.com - 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 - Behavior changed
wss:// connections now verify certificates and host names; self-signed setups need the ssl_context option. github.com - 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 - Behavior changed
await_download
await_download returns Ferrum::Download objects instead of event hashes. github.com - Behavior changed
cookies.remove
cookies.remove without :domain or :url now raises ArgumentError instead of RuntimeError or Ferrum::Error. github.com - 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 - 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 - Behavior changed
ForeignObjectError
A Node or RemoteObject from another page or isolated world raises Ferrum::ForeignObjectError instead of Ferrum::NodeNotFoundError. github.com - Behavior changed
headers
Headers set through headers only apply to requests; use network.emulate(user_agent:, accept_language:) to override navigator values. github.com - Behavior changed
network.intercept
The first on(:request) or on(:auth) enables interception, and intercept only narrows what is paused. github.com - 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
ferrum 0.21.0 breaking changes
- Removed
:browser_name
Set :browser_path to run another browser such as Opera or Edge. github.com - Removed
Browser.Options.Base
Use Browser::Options::Chrome, which has everything Base had. github.com - Removed
cookie.same_party?
Chrome dropped SameParty cookies, so this method was removed. github.com - Removed
cookie.sameparty?
Chrome dropped SameParty cookies, so this method was removed. github.com - Removed
evaluate_async
Use evaluate and Node#evaluate instead of evaluate_async. github.com - Removed
evaluate_func
Use evaluate and Node#evaluate instead of evaluate_func. github.com - Removed
evaluate_on
Use Node#evaluate instead, and page.await_navigation! for the wait: behavior. github.com - Removed
FERRUM_JS_API
The FERRUM_JS_API environment variable no longer has any effect and was removed. github.com - Removed
Ferrum.ServerError
Nothing raised this error, so it was removed. github.com - Removed
headers.add
Pass referrer: to go_to instead of permanent: on headers.add. github.com
And 21 more in this version. Sign up to see every change
ferrum 0.20.0 breaking changes
- Removed
Ferrum now requires Ruby 3.2 or newer, so Ruby 3.1 users must upgrade Ruby. github.com - Removed
Browser.Process.browser_version
Browser::Process#browser_version is removed. Use Browser#version instead. github.com - Removed
Browser.Process.default_user_agent
Browser::Process#default_user_agent is removed. Use Browser#default_user_agent instead. github.com - Removed
Browser.Process.protocol_version
Browser::Process#protocol_version is removed. Use Browser#version instead. github.com - Removed
Browser.Process.v8_version
Browser::Process#v8_version is removed. Use Browser#version instead. github.com - Removed
Browser.Process.webkit_version
Browser::Process#webkit_version is removed. Use Browser#version instead. github.com - Removed
FERRUM_LOGGING_SCREENSHOTS
The FERRUM_LOGGING_SCREENSHOTS variable is gone. Use FERRUM_LOG_VALUE_LENGTH to control logged string length. github.com - Behavior changed
:logger
The logger no longer prints [log] lines for console calls. Use page.on(:console) to receive them. github.com - 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 - 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
And 7 more in this version. Sign up to see every change
ferrum 0.19.0 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 - 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 - Removed
browser_name: :firefox
Ferrum is now Chrome/CDP only. Code using browser_name: :firefox must switch to Chrome. github.com - 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 - Behavior changed
Ferrum.Page.set_viewport
Passing mobile: now turns on touch emulation as well as the device metrics override. github.com - 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 - 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
ferrum 0.18.0 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 - 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 - 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 - 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 - 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 - 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
ferrum 0.17 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 - 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
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
ferrum 0.16 breaking changes
- 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
ferrum 0.15 breaking changes
- Renamed
Ferrum.Browser.Client
The class Ferrum::Browser::Client is now named Ferrum::Client. Update references to the new name. github.com - 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
And 3 more in this version.
ferrum 0.14 breaking changes
- 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
ferrum 0.13 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 - 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
And 2 more in this version.
ferrum 0.12 breaking changes
- Removed
The package now requires Ruby 2.6 or later. Older Ruby versions are no longer supported. github.com - 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
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, 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.