---
title: "@wdio/mocha-framework 10.2.0 Breaking Changes on npm"
description: "What each @wdio/mocha-framework release removed, renamed or changed: 11 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@wdio/mocha-framework
last_updated: 2026-12-04
---

# @wdio/mocha-framework breaking changes

@wdio/mocha-framework 10.2.0 (November 6, 2026) is its newest release with breaking changes. The first: @wdio/mocha-framework 10.2.0 requires Node.js 22.23.4 or later. Every breaking API change we have recorded in @wdio/mocha-framework on npm: 11 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `10.2.0`, released November 6, 2026. [Source repository](https://github.com/webdriverio/webdriverio)

Its 10.2.0 release requires Node.js 22.23.4 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [9.33.1](#v-9-33-1) to [10.2.0](#v-10-2-0): 9 breaking changes in 3 versions.

## @wdio/mocha-framework 10.2.0 breaking changes

@wdio/mocha-framework 10.2.0, released November 6, 2026: 1 breaking change.

- **Behavior changed**  

The release requires Node.js 22.23.4, 24.22.1 or 26.12.1 for the eMudhra intermediate CA compromise, so older Node.js builds must be upgraded. [github.com](https://github.com/webdriverio/webdriverio/releases/tag/v10.2.0)

## @wdio/mocha-framework 10.1.0 breaking changes

@wdio/mocha-framework 10.1.0, released October 18, 2026: 2 breaking changes.

- **Behavior changed**  

The Mocha timeout is now followed, and Mocha waits for after hooks to finish. Tests relying on the earlier timing may behave differently. [github.com](https://github.com/webdriverio/webdriverio/releases/tag/v10.1.0)
- **Signature changed** `MochaAdapter.run`  

Was run(): Promise\<unknown>; now run(): Promise\<number>. [npmjs.com](https://www.npmjs.com/package/@wdio/mocha-framework/v/10.1.0)

## @wdio/mocha-framework 10.0.0 breaking changes

@wdio/mocha-framework 10.0.0, released October 5, 2026: 6 breaking changes.

- **Removed** `common:loadModule`  

loadModule was removed in @wdio/mocha-framework 10.0.0 [npmjs.com](https://www.npmjs.com/package/@wdio/mocha-framework/v/10.0.0)
- **Removed** `common:requireExternalModules`  

requireExternalModules was removed in @wdio/mocha-framework 10.0.0 [npmjs.com](https://www.npmjs.com/package/@wdio/mocha-framework/v/10.0.0)
- **Removed** `MochaOpts.compilers`  

MochaOpts.compilers was removed in @wdio/mocha-framework 10.0.0 [npmjs.com](https://www.npmjs.com/package/@wdio/mocha-framework/v/10.0.0)
- **Behavior changed**  

The Mocha framework now runs on Mocha 12 instead of Mocha 10. Check your test setup and Mocha options against the Mocha 12 changes. [github.com](https://github.com/webdriverio/webdriverio/releases/tag/v10.0.0)
- **Behavior changed**  

The release requires Node.js 22.19.0 or newer. Upgrade your Node.js runtime before installing this version. [github.com](https://github.com/webdriverio/webdriverio/releases/tag/v10.0.0)
- **Signature changed** `common:setupEnv`  

Was function setupEnv(cid: string, options: MochaOpts, beforeTest: Hook, beforeHook: Hook, afterTest: Hook, afterHook: Hook): Promise\<any>\[\]; now function setupEnv(cid: string, options: MochaOpts, beforeTest: Hook, beforeHook: Hook... [npmjs.com](https://www.npmjs.com/package/@wdio/mocha-framework/v/10.0.0)

## @wdio/mocha-framework 9.33.1 breaking changes

@wdio/mocha-framework 9.33.1, released November 3, 2026: 2 breaking changes.

- **Behavior changed**  

The v9 line now requires Node.js releases that contain the eMudhra CA fix. Users on older Node.js releases must upgrade Node.js. [github.com](https://github.com/webdriverio/webdriverio/releases/tag/v9.33.1)
- **Behavior changed** `getInstance`  

MultiRemote getInstance now throws an error when no instance is found, where it previously returned undefined. Code that checks for undefined must handle the thrown error. [github.com](https://github.com/webdriverio/webdriverio/releases/tag/v9.33.1)

## Related packages

- [webdriverio](https://since.dev/packages/npm/webdriverio.md)
- [@wdio/spec-reporter](https://since.dev/packages/npm/@wdio/spec-reporter.md)
- [@wdio/local-runner](https://since.dev/packages/npm/@wdio/local-runner.md)
- [@wdio/cli](https://since.dev/packages/npm/@wdio/cli.md)
- [@wdio/browserstack-service](https://since.dev/packages/npm/@wdio/browserstack-service.md)

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