Repository navigation
feat(webdriverio): support WebdriverIO v10 - #396
Merged
Merged
Conversation
Add `^10` to the `webdriverio` peer range. Without it, npm refuses to install the SDK next to WebdriverIO 10 (ERESOLVE on `peer webdriverio@"^6 || ^7 || ^8 || ^9"`) and pnpm and Yarn warn. No code change is needed. `saveScreenshot` still writes the file and resolves to a `Buffer`, and it already captured over WebDriver BiDi in v9. The global `WebdriverIO.Browser` type and the `@wdio/types` options used by the e2e config are unchanged. The e2e screenshots are byte-identical between 9.32.0 and 10.0.0. Bump webdriverio and the @wdio/* dev dependencies to 10.0.0 so CI runs the e2e suite against v10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
jsfez
approved these changes
Oct 7, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
^10to thewebdriveriopeer range.WebdriverIO 10.0.0 shipped on 2026-10-05. npm 11 currently refuses to install
@argos-ci/webdriverio@0.8.11next to it:A tarball packed from this branch installs cleanly next to
webdriverio@10.0.0.Changes
^6 || ^7 || ^8 || ^9 || ^10. The older majors stay: nothing in v10 forces dropping one, and this PR does not change SDK code.webdriverio,@wdio/cli,@wdio/globals,@wdio/local-runner,@wdio/mocha-framework,@wdio/spec-reporterand@wdio/typesgo from 9.32 to 10.0.0, so the CI e2e job now runs on v10.@wdio/display-serverreplacing@wdio/xvfb, new driver majors, and the proxy-agent stack dropped. The only importer that changes ispackages/webdriverio.There is no changeset because this repo releases with Lerna from conventional commits, so the
feat(webdriverio)commit produces the minor bump.WebdriverIO 10 against what the SDK uses
Sources: the v10 migration guide, the v10.0.0 release notes, and the published 9.32.0 and 10.0.0 packages.
The SDK only calls
browser.saveScreenshot(path)and post-processes the returned buffer with sharp to draw masks. It does not callbrowser.execute, resize the window or viewport, or inject the DOM stabilization helpers that the other SDKs use. So the v10 changes in those areas do not affect it:executenow awaits async functions,executeAsyncis removed, andemulatemoves to BiDi.saveScreenshot(path)writes the PNG and resolves to aBufferPromise<Buffer<ArrayBuffer>>with the same write-then-return code. The only addition is a branch for calls made on a frame browsing context.browsingContext.captureScreenshot,origin: "viewport").WebdriverIO.Browsertype in the public signaturewebdriverio.dist/index.cjsdynamic-imports the ESM build)require("webdriverio")also still works in v10.Options.Testrunner,Options.RunnerStart["capabilities"], Mocha and spec reporter,browserVersion: "stable"tscpasses against the v10 types, and Chrome for Testing is still provisioned automatically.>=22.0.0, and the CI e2e job runs onlts/*.Verification
simple,masksandfullpath(756×413)tscon the SDK, specs andwdio.conf.tsturbo run test check-types linton all packages, commitlint, prettierwebdriverio@10.0.0Review notes
@wdio/globals,@wdio/runnerand@wdio/local-runner10.0.0 requireexpect-webdriverio ^8.0.0-alpha.3, and there is no stable 8 yet:latestis 7.0.1, which peers on webdriverio 9. npm and pnpm install the alpha without warnings. This only concerns WebdriverIO's test runner, not the SDK.browser.url()returns a browsing context instead ofundefinedfor the e2e'sfile://URL. The specs ignore the return value.docs/sdks-reference/webdriverio.md.🤖 Generated with Claude Code