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

# watir breaking changes

watir 7.0.0 (October 18, 2021) is its newest release with breaking changes. The first: Requires Selenium 4.0.0 or later and Ruby 2.6 or later in watir 7.0.0. Every breaking API change we have recorded in watir on RubyGems: 18 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 `7.3.0`. [Source repository](https://github.com/watir/watir)

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

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 8 breaking changes in 5 versions.

## watir 7.0.0 breaking changes

watir 7.0.0, released October 18, 2021: 1 breaking change.

- **Configuration changed**  

Upgrade selenium-webdriver to 4.0.0+ and run on Ruby 2.6+. [github.com](https://github.com/watir/watir/blob/v7.0.0/CHANGES.md)

## watir 7.0.0.beta5 breaking changes

watir 7.0.0.beta5, released October 18, 2021: 1 breaking change.

- **Behavior changed** `Browser.change`  

Setting values on date and date-time fields triggers a change event, which may alter event handlers. [github.com](https://github.com/watir/watir/blob/v7.0.0/CHANGES.md)

## watir 7.0.0.beta3 breaking changes

watir 7.0.0.beta3, released October 18, 2021: 2 breaking changes.

- **Default changed**  

Alerts are no longer dismissed automatically when an exception happens; set the alert behavior explicitly if you relied on dismissal. [github.com](https://github.com/watir/watir/blob/v7.0.0/CHANGES.md)
- **Configuration changed**  

Timeout capability handling changed; review any timeout capabilities you pass. [github.com](https://github.com/watir/watir/blob/v7.0.0/CHANGES.md)

## watir 7.0.0.beta2 breaking changes

watir 7.0.0.beta2, released October 18, 2021: 2 breaking changes.

- **Behavior changed** `Browser.closed?`  

Browser#closed? is new, so it breaks nothing; existing exists? calls are unchanged. [github.com](https://github.com/watir/watir/blob/v7.0.0/CHANGES.md)
- **Behavior changed** `Element.set`  

Calls to set on input elements now dispatch by the evaluated element type, which can change results. [github.com](https://github.com/watir/watir/blob/v7.0.0/CHANGES.md)

## watir 7.0.0.beta1 breaking changes

watir 7.0.0.beta1, released October 18, 2021: 2 breaking changes.

- **Removed**  

Previously deprecated Watir APIs are no longer available; move off them before upgrading. [github.com](https://github.com/watir/watir/blob/v7.0.0/CHANGES.md)
- **Configuration changed**  

Watir 7 needs Selenium 4 installed; update the selenium-webdriver dependency before upgrading. [github.com](https://github.com/watir/watir/blob/v7.0.0/CHANGES.md)

## watir 6.0.0 breaking changes

watir 6.0.0, released November 9, 2016: 4 breaking changes.

- **Removed** `when_present`  

The when_present method was removed. Code calling it must be rewritten. [github.com](https://github.com/watir/watir/blob/v6.0.0/CHANGES.md)
- **Behavior changed** `Element.text_field`  

Element#text_field no longer finds textarea elements. Use Element#textarea to locate them. [github.com](https://github.com/watir/watir/blob/v6.0.0/CHANGES.md)
- **Behavior changed** `wait_until`  

wait_until now returns self instead of its previous result, so code relying on the old return value may change. [github.com](https://github.com/watir/watir/blob/v6.0.0/CHANGES.md)
- **Behavior changed** `wait_while`  

wait_while now returns self instead of its previous result, so code relying on the old return value may change. [github.com](https://github.com/watir/watir/blob/v6.0.0/CHANGES.md)

## 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)

### watir 6.0.0.beta1 breaking changes

watir 6.0.0.beta1, released November 9, 2016: 6 breaking changes.

- **Removed**  

The deprecated alerts helpers were removed. Code using them must be rewritten. [github.com](https://github.com/watir/watir/blob/v6.0.0/CHANGES.md)
- **Removed**  

The deprecated checkers were removed. Code using them must be rewritten. [github.com](https://github.com/watir/watir/blob/v6.0.0/CHANGES.md)

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