#15664·webdriverio

[v10] Add v10 migration guide, blog post, and codemod transforms

Author: cursor[bot]Created Sep 20, 2026Updated Sep 28, 2026
Labelshelp wantedTracking 🗒Idea 💡v10

Why this is a v10 item

A housekeeping major is only usable if people can upgrade it. v6/v7 had website/docs/v6Migration.md and website/docs/v7-migration.md plus a release blog. v9 had website/blog/2024-08-15-webdriverio-v9-release.md. v10 needs the same pair, plus @wdio/codemod coverage for the mechanical breaks.

Cut a v9 maintenance branch before publishing 10.0.0 so patch/backport work has a home.

Docs

  • website/docs/v10Migration.md (same shape as v7-migration: Node, deleted commands, signatures, config keys, MultiRemote, xvfb, Lighthouse/Mocha/Cucumber)
  • v10 release blog post
  • Sidebars / next-version banner
  • Replace remaining “Node 18+” copy (CloudServices.md, devtools/Selenium.md, MocksAndSpies.md)
  • create-wdio templates emit v10-valid config (tags, jasmineOpts, wdio:specs, displayServer*, no tagExpression / autoXvfb)

Codemod (@wdio/codemod, separate repo)

Best-effort transforms:

  • executeAsync → execute where the callback form is obvious
  • throttle( → throttleNetwork(
  • switchToFrame( → switchFrame(
  • addCommand(name, fn, true/false) → options object
  • getHTML(boolean) → getHTML({ includeSelectorTag })
  • getCookies(string) / getCookie(string) → object filter
  • multiremotebrowser → multiRemoteBrowser
  • tagExpression → tags
  • jasmineNodeOpts / failFast → jasmineOpts / stopOnSpecFailure
  • autoXvfb / xvfb* → displayServer*
  • WebdriverIO.MultiremoteConfig → MultiRemoteConfig

Document anything the codemod cannot safely touch (browser.chrome property access, touchAction sequences, Cucumber 13 API).

Release process

  • v9 branch cut and backport label still applies to it
  • Changelog :boom: section lists every public break
  • Third-party service maintainers pinged about the Node floor