unstale

npm / webdriverio

webdriverio

What changed in webdriverio 7 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

188 breaking4 security79 new APIs and options3 performance52 behavior and defaults13 tooling221 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

webdriverio 10335 changes

Breaking changes 164

  • A Cucumber feature's uid is now derived from its file path.

    10.2.0release notes

  • Cucumber BeforeAll and AfterAll are reported as hooks of the feature.

    10.2.0release notes

  • fill now reports values the browser rejected or reformatted and rejects an empty range value.

    10.2.0release notes

  • A failing afterAll hook now fails the run.

    10.2.0release notes

  • The worker stays alive on a late rejection not reported by a framework, and the run fails.

    10.2.0release notes

  • The CLI now rejects --repeat.

    10.2.0release notes

  • W3C errors are no longer retried.

    10.2.0release notes

  • The package requires Node.js 22.23.4, 24.22.1 or 26.12.1.

    10.2.0release notes

  • The package requires Node.js 22.23.4, 24.22.1 or 26.12.1.

    10.2.0release notes

  • The legacy boolean third argument is removed and throws at runtime; pass an options object such as { attachToElement: true } instead.

    10.0.0upgrade guide

  • Removed from @wdio/allure-reporter because it had no effect; configure environment rows with reportedEnvironmentVars instead.

    10.0.0upgrade guide

  • Appium 3 requires a driver or wildcard scope prefix on --allow-insecure features.

    10.0.0upgrade guide

  • With scenarioLevelReporter enabled, historyId comes from fullTitle, so scenario histories restart with the uid change or when rootDir or the feature file path changes.

    10.0.0upgrade guide

  • Appium 3 is required, and Appium 1/2 HTTP fallbacks have been dropped.

    10.0.0release notesupgrade guide

  • Unprefixed automationName, deviceName, and appiumVersion no longer select an Appium session; use appium:-prefixed capabilities or appium:options.

    10.0.0upgrade guide

  • WebdriverIO no longer exposes client methods for most deprecated Appium base-driver routes; use W3C Actions, the corresponding mobile command, or a driver mobile: execute method instead.

    10.0.0upgrade guide

  • Browser and driver downloads use HTTPS_PROXY and HTTP_PROXY only when proxy-agent is installed or Node.js runs with NODE_USE_ENV_PROXY=1; WebdriverIO warns when a set proxy variable would be ignored.

    10.0.0upgrade guide

  • Scripts and built-in scripts pass only the W3C element reference, not the legacy ELEMENT field.

    10.0.0upgrade guide

  • The property has been removed, including its forwarding on the worker sessionStarted message; attach ignores isW3C.

    10.0.0upgrade guide

  • The JSON Wire Protocol key is rejected; use the pageLoad key instead.

    10.0.0upgrade guide

  • The command has been removed; use browser.throttleNetwork() instead.

    10.0.0upgrade guide

  • browser.uploadFile is replaced by element.setFiles.

    10.0.0release notesupgrade guide

  • $ now throws when a selector matches multiple elements.

    10.0.0release notes

  • Now represents exactly one element and throws StrictSelectorError if a selector matches multiple elements; use $$ for multiple matches or narrow the selector.

    10.0.0upgrade guide

  • WebdriverIO no longer adds a profile folder; ChromeDriver gives each session its own temporary profile. Set your own --user-data-dir to keep a profile.

    10.0.0upgrade guiderelease notes

  • The browser result event is forwarded to reporters with this event, whose payload no longer has name; read command instead.

    10.0.0upgrade guide

  • Commands use W3C result objects: HTTP 200 without value.error is success, and missing elements use HTTP 404 with value.error set to no such element. Numeric status is ignored.

    10.0.0upgrade guide

  • TypeScript 6 defaults types to an empty list, so projects must list the type packages their tests use.

    10.0.0upgrade guide

  • Session creation requires a W3C response body with value.sessionId and value.capabilities; JSON Wire Protocol bodies are rejected.

    10.0.0upgrade guide

  • A feature uid now includes the feature file path from rootDir, so same-named features in different folders have different uids; scenario parent and fullTitle use that uid.

    10.0.0upgrade guide

  • Profile or configuration-file values are used, with cucumberOpts values taking precedence; profile require and import lists are loaded too, while paths, requireModule, and loader are not used.

    10.0.0upgrade guide

  • cucumberOpts.strict defaults to true, so a pending step fails the run; set it to false to keep the v9 behavior.

    10.0.0upgrade guiderelease notes

  • A retried scenario now has only the steps from its last try in the reporter output.

    10.0.0upgrade guide

  • On a multi-remote browser, custom$ returns one MultiRemoteElement rather than a plain array of elements; use getInstance() to address one browser.

    10.0.0upgrade guide

  • On a multi-remote browser, custom$$ returns one MultiRemoteElementArray rather than a plain array of per-instance lists.

    10.0.0upgrade guide

  • Set displayServer to xvfb to retain Xvfb after renaming old options; otherwise auto mode prefers Weston.

    10.0.0upgrade guide

  • This renamed option replaces xvfbAutoInstallCommand; array commands now run without a shell, so use a string for shell syntax.

    10.0.0upgrade guide

  • Use DisplayServerManager from @wdio/display-server instead of XvfbManager or the xvfb instance from @wdio/xvfb.

    10.0.0upgrade guide

  • Doc string arguments are now objects with content and line, rather than plain text.

    10.0.0upgrade guide

  • The Element type exported by webdriverio was removed; use the global WebdriverIO namespace.

    10.0.0upgrade guide

  • An index past the end of a $$(selector) list gives an element that waits for that index, rather than undefined; compare the index with length.

    10.0.0upgrade guide

  • Use elementId and the W3C element reference key; the legacy ELEMENT field is no longer part of the element contract.

    10.0.0upgrade guide

  • The command has been removed; pass an async function to execute() and return a value or promise instead of using the WebDriver done callback.

    10.0.0upgrade guide

  • Use element.setFiles in place of browser.uploadFile.

    10.0.0release notes

  • Set file inputs using paths opened by the browser; the command requires a BiDi session, and relative paths resolve against process.cwd().

    10.0.0upgrade guide

  • Element queries now return results as an ElementArray.

    10.0.0release notes

  • The command hooks do not run for the emit event function.

    10.0.0upgrade guide

  • Requires ESLint 10 and exports only the flat/recommended config; the eslintrc config name has been removed.

    10.0.0upgrade guide

  • The executeAsync command has been removed.

    10.0.0release notesupgrade guide

  • Update the peer dependency to expect-webdriverio 8 when upgrading the listed WebdriverIO packages.

    10.0.0upgrade guide

  • The option now defaults to true, so a failing before or beforeEach hook fails the tests that hook skipped.

    10.0.0upgrade guide

  • Feature IDs keep characters such as : and /; only spaces become hyphens. Long filename feature parts are cut and end with a hash, and Windows device names are prefixed with _.

    10.0.0upgrade guide

  • The featureFlags option was removed from expect-webdriverio.

    10.0.0upgrade guide

  • The reporter no longer installs ffmpeg itself; install it on each test-running machine or configure ffmpegPath or FFMPEG_PATH.

    10.0.0upgrade guide

  • filter(), filterSeries() and slice() now return an element list that retains source-list properties instead of a plain array.

    10.0.0upgrade guide

  • The frame command queries, changing its behavior for developers working with frames.

    10.0.0release notes

  • Accepts only an options object for includeSelectorTag; the positional boolean form is no longer supported.

    10.0.0upgrade guide

  • element.getValue() now uses Get Element Property on every session, including mobile sessions, instead of using Get Element Attribute on mobile.

    10.0.0upgrade guide

  • When a worker runs several feature files, the reporter now writes one JSON file for each feature.

    10.0.0upgrade guide

  • Skipped hooks now have status skipped, and hooks returning 'pending' have status pending, rather than being reported as passed.

    10.0.0upgrade guide

  • The isMultiremote property is renamed to isMultiRemote on the browser, element results, runner, launcher, worker messages, and related APIs.

    10.0.0upgrade guide

  • Built-in Jasmine matchers and matchers added with jasmine.addMatchers return undefined again; failed unawaited sync assertions now fail the spec.

    10.0.0upgrade guide

  • The option was removed; configure Jasmine with jasmineOpts instead. Setting the old key throws.

    10.0.0upgrade guide

  • The option is no longer read; use jasmineOpts.stopOnSpecFailure instead.

    10.0.0upgrade guide

  • The option now stops a spec at its first failed assertion, immediately for sync matchers and when awaited async matchers settle.

    10.0.0upgrade guide

  • Use this option in place of jasmineOpts.failFast to stop the suite on spec failure.

    10.0.0upgrade guide

  • The option was removed; use jasmineOpts.oneFailurePerSpec instead. Setting the old key throws.

    10.0.0upgrade guide

  • WebdriverIO no longer speaks JSON Wire Protocol or Mobile JSON Wire Protocol, and servers returning the old response envelope cannot start a session.

    10.0.0upgrade guide

  • WebdriverIO v10 does not support Selenium 3, PhantomJS, EdgeHTML, or direct WinAppDriver connections; stay on v9 if these servers are required.

    10.0.0upgrade guide

  • JSONWP Appium capabilities have been dropped.

    10.0.0release notes

  • Feature and scenario keywords now use the keywords from the feature file, such as Scenario Outline or Fonctionnalité, rather than fixed English values.

    10.0.0upgrade guide

  • Mobile helpers no longer fall back to removed Appium HTTP endpoints after an unknown-method error; the error advises upgrading to Appium 3.

    10.0.0upgrade guide

  • The mobile getValue fallback has been removed.

    10.0.0release notes

  • Hook titles use the hook description or function name instead of the WebdriverIO wrapper name; anonymous hooks have no name.

    10.0.0upgrade guide

  • Mocha's compilers option is gone; load transpilers or setup files with mochaOpts.require instead.

    10.0.0upgrade guide

  • Setting mochaOpts.timeout to 0 now turns the timeout off.

    10.0.0upgrade guide

  • The return type is Uint8Array | null; Node.js still returns a Buffer, while browsers return a Uint8Array.

    10.0.0upgrade guide

  • Accepts Uint8Array and ArrayBuffer payloads. With fetchResponse false, statusCode or responseHeaders filters cause the method to throw.

    10.0.0upgrade guide

  • Accepts Uint8Array and ArrayBuffer payloads. With fetchResponse false, statusCode or responseHeaders filters cause the method to throw.

    10.0.0upgrade guide

  • Sessions are no longer exposed as properties on multi-remote browsers or elements; use getInstance() or select() to address a session.

    10.0.0upgrade guide

  • In a multi-remote session, reporter metadata now comes from the first instance.

    10.0.0upgrade guide

  • Only commands from the first instance now take a frame in a multi-remote session.

    10.0.0upgrade guide

  • Multiremote $$ now returns a MultiRemoteElementArray.

    10.0.0release notes

  • The multiremote mock() command now returns a MultiRemoteMock.

    10.0.0release notesupgrade guide

  • Multiremote select() behavior is stabilized, and its environment flag has been dropped.

    10.0.0release notesupgrade guide

  • Multiremote naming is aligned to multi-remote / multiRemote.

    10.0.0release notes

  • The webdriverio multiremote() API is renamed to multiRemote(); the old spelling is not aliased.

    10.0.0upgrade guide

  • Renames multiremoteBrowser to multiRemoteBrowser to follow camel-casing rules.

    9.23.0, 10.0.0release notesupgrade guide

  • The MultiRemoteBrowser type exported by webdriverio was removed; use the global WebdriverIO namespace.

    10.0.0upgrade guide

  • The type has been renamed to MultiRemoteConfig.

    10.0.0release notesupgrade guide

  • MultiRemoteConfig replaces the renamed MultiremoteConfig type.

    10.0.0release notes

  • The MultiRemoteElement type exported by webdriverio was removed; use the global WebdriverIO namespace.

    10.0.0upgrade guide

  • browser.multiremoteFetch() is renamed to browser.multiRemoteFetch().

    10.0.0upgrade guide

  • windowName and windowFeatures are gone because they only applied to WebDriver Classic; the command still accepts type.

    10.0.0upgrade guide

  • WebdriverIO now requires Node.js >=22.19.0.

    10.0.0release notesupgrade guide

  • WebdriverIO v10 requires Node.js 22.23.4, 24.22.1, or 26.12.1 or later in those release lines; Node.js 18, 20, 23, and 25 are not supported.

    10.0.0upgrade guiderelease notes

  • Setting onLine to false now makes the browsing context offline, including fetch, WebSocket, and WebTransport.

    10.0.0upgrade guide

  • The legacy boolean third argument is removed; pass an options object such as { attachToElement: true } instead.

    10.0.0upgrade guide

  • In afterAssertion, params.result is typed as { pass, message }; read params.result.pass instead of the always-undefined result property.

    10.0.0upgrade guide

  • The eslintrc config name has been removed; use the flat/recommended config.

    10.0.0upgrade guide

  • React 18 and 19 are supported by react$ and react$$ using a built-in resq replacement.

    10.0.0release notes

  • GET commands no longer produce frames because they only read the page, except when this option is enabled.

    10.0.0upgrade guide

  • Configure the HTML reporter with the name html instead of html-nice.

    10.0.0upgrade guide

  • Capabilities.RequestedMultiremoteCapabilities is renamed to Capabilities.RequestedMultiRemoteCapabilities.

    10.0.0upgrade guide

  • Scenario IDs now use semicolon-separated feature, rule, and scenario IDs, matching the Cucumber JSON format.

    10.0.0upgrade guide

  • The non-awaited list selector is now Selector | undefined rather than a promise.

    10.0.0upgrade guide

  • The exported error type JSONWPCommandError is now named SessionRequestError; update imports and references.

    10.0.0upgrade guide

  • setFeatureFlags() was removed from expect-webdriverio.

    10.0.0upgrade guide

  • Custom framework adapters can no longer pass a Map of matchers; iterate with Object.entries(wdioMatchers).

    10.0.0upgrade guide

  • All workers now share one display instead of each having its own; Chrome and Edge pages can lack focus.

    10.0.0upgrade guide

  • The option now uses the last part of W3C WebDriver endpoints; old JSON Wire Protocol names do not match v10 commands.

    10.0.0upgrade guide

  • Ignored legacy options for startActivity have been dropped.

    10.0.0release notesupgrade guide

  • The method now accepts one options object instead of four arguments; move the individual values into that object.

    10.0.0upgrade guide

  • Pass { strict: false } to a single $ query to opt out of strict selector behavior.

    10.0.0upgrade guide

  • In Classic sessions, string and function arguments are rejected; pass an element or null for the top frame. In BiDi sessions, switchFrame throws.

    10.0.0upgrade guide

  • switchToFrame is hidden.

    10.0.0release notesupgrade guide

  • Throws in a BiDi session; remove calls used to switch back to the first tab.

    10.0.0upgrade guide

  • Replace cucumberOpts.tagExpression with cucumberOpts.tags; setting tagExpression now throws.

    10.0.0upgrade guide

  • Tags now use { name, line } objects; scenario tags include the feature-file line instead of internal Cucumber objects.

    10.0.0upgrade guide

  • WebdriverIO now follows Mocha's timeout set with this.timeout() in a test or hook.

    10.0.0upgrade guide

  • The deprecated throttle command has been removed.

    10.0.0release notes

  • On $$(), expected arrays are compared index by index, so their order must match the page.

    10.0.0upgrade guide

  • The deprecated touchAction command has been removed.

    10.0.0release notesupgrade guide

  • Undefined steps now have status undefined.

    10.0.0upgrade guide

  • The url command returns a context, changing what developers receive when they use it.

    10.0.0release notes

  • The userAgent scope now uses the browser user-agent override rather than patching navigator.userAgent.

    10.0.0upgrade guide

  • Vendor settings must use a prefixed key such as sauce:options, bstack:options, or appium:options; mixed vendor-prefixed and non-W3C keys are rejected.

    10.0.0upgrade guide

  • Video filenames now use the YYYY-MM-DD--HH-MM-SS-mmm date format on every machine, rather than the machine locale.

    10.0.0upgrade guide

  • webm is now the default; videoFormat: 'default' logs a warning and makes webm videos, so use videoFormat: 'mp4' for MP4.

    10.0.0upgrade guide

  • Every session is now treated as W3C.

    10.0.0release notes

  • A host with only WAYLAND_DISPLAY set now counts as having a display; WebdriverIO starts no Xvfb and opens browser windows on the compositor.

    10.0.0upgrade guide

  • The service declares an optional appium peer dependency of >=3 and refuses to launch an older server.

    10.0.0upgrade guide

  • Re-exports fn, spyOn and mock types from @vitest/spy 5; mocks called with new require a function or class implementation.

    10.0.0upgrade guide

  • Unprefixed capability specs and exclude have been dropped.

    10.0.0release notes

  • The Cucumber JSON reporter moved into the WebdriverIO repository under this package name; replace the v9 community package and update imports.

    10.0.0upgrade guiderelease notes

  • A retried scenario now includes only the steps from its last try.

    10.0.0upgrade guide

  • Doc string arguments now contain content and line fields instead of being plain text.

    10.0.0upgrade guide

  • When a worker runs several feature files, the reporter now writes one JSON file per feature.

    10.0.0upgrade guide

  • Scenario ids now use semicolon-separated feature, rule, and scenario ids, following the Cucumber JSON format.

    10.0.0upgrade guide

  • Feature and scenario keyword values now match the keywords in the feature file instead of always being Feature and Scenario.

    10.0.0upgrade guide

  • In a multi-remote session, reporter metadata now comes from the first instance.

    10.0.0upgrade guide

  • Skipped and pending hooks now receive their corresponding Cucumber JSON statuses instead of passed.

    10.0.0upgrade guide

  • Undefined steps now have status undefined instead of failed or pending.

    10.0.0upgrade guide

  • Tags now use Cucumber JSON objects with name and line fields; scenario tags receive the feature-file line.

    10.0.0upgrade guide

  • This package replaces @wdio/xvfb; the testrunner starts one display server for the whole run, preferring headless Weston and falling back to Xvfb.

    10.0.0upgrade guide

  • The environment variable has been removed; $$() always returns the multi-remote element array.

    10.0.0upgrade guide

  • Use wdio:exclude in capabilities; bare capability exclude lists are no longer read.

    10.0.0upgrade guide

  • The service no longer treats legacy as an option; a leftover legacy: true is written into the profile as a preference.

    10.0.0upgrade guide

  • The HTML reporter moved into the WebdriverIO repository as @wdio/html-reporter; the old wdio-html-nice-reporter package is for v9 only.

    10.0.0upgrade guide

  • The REPL now emits prefixed Appium capability keys, including appium:app, appium:platformVersion, and appium:udid.

    10.0.0upgrade guide

  • Use wdio:specs in capabilities; bare capability specs lists are no longer read.

    10.0.0upgrade guide

  • The video reporter moved into the WebdriverIO repository under this package name; replace the v9 community package and update imports.

    10.0.0upgrade guide

  • GET commands no longer take frames because they only read the page, except when recordAllActions is enabled.

    10.0.0upgrade guide

  • In multi-remote sessions, only commands from the first instance take a frame.

    10.0.0upgrade guide

  • Video file dates now use YYYY-MM-DD--HH-MM-SS-mmm on every machine rather than the machine locale.

    10.0.0upgrade guide

  • This setting no longer marks a Selenium standalone session; Selenium Grid 4 is still detected from se:cdp.

    10.0.0upgrade guide

  • The internal script has been removed.

    10.0.0upgrade guide

  • The legacy ELEMENT property is no longer declared; use element.elementId.

    10.0.0upgrade guide

  • The selector property now has the Selector type rather than string; check its type before using string-specific methods.

    10.0.0upgrade guide

  • Multi-remote $$() now returns a MultiRemoteElementArray; its collection methods are async and return promises, including after await.

    10.0.0upgrade guide

  • Capabilities.WithRequestedMultiremoteCapabilities is renamed to Capabilities.WithRequestedMultiRemoteCapabilities.

    10.0.0upgrade guide

  • Replace direct XvfbManager or @wdio/xvfb instance usage with DisplayServerManager from @wdio/display-server.

    10.0.0upgrade guide

  • This option has no effect in v10 and will be removed in v11; display startup is no longer retried.

    10.0.0upgrade guide

  • Display-server auto-install no longer supports yum; install Xvfb yourself on yum-only hosts.

    10.0.0upgrade guide

Security 1

  • strictSSL is now applied to HTTP requests in Node.

    10.2.0release notes

New APIs and options 39

  • Reporter support adds units and hook owners for parallel mode, enabling reporters to represent parallel execution.

    10.2.0release notes

  • Snapshot diffing is exposed through the snapshot command's --diff option.

    10.2.0release notes

  • Allure and JUnit runtime APIs are relayed from Vitest workers.

    10.2.0release notes

  • The HTML reporter now supports parallel mode and is included in the main repository.

    10.2.0release notes

  • The CLI now supports the wdio:specs capability.

    10.2.0release notes

  • A bidiConnectTimeout option is added.

    9.33.1, 10.1.0release notesrelease notes

  • Parallel it() execution is available via BiDi browsing contexts.

    10.1.0release notes

  • The snapshot and session packages are prepared for MCP integration.

    10.0.2release notes

  • Repeated controls in snapshots are tagged with their row context.

    10.0.2release notes

  • A proof-of-concept implementation of the snapshot package is introduced.

    10.0.2release notes

  • WebdriverIO now supports the Sauce Labs asia-south-2 data center.

    9.33.1, 10.0.1release notesrelease notes

  • The setup wizard now offers the devtools service, giving users another service option when creating a WebdriverIO project.

    10.0.1release notes

  • browser.act() is added with cached, self-healing steps.

    10.0.0release notes

  • browser.extract() is added with cached, self-healing steps.

    10.0.0release notes

  • Cucumber can run parallel tests in a spec file with parallelMode.

    10.0.0upgrade guide

  • When enabled, tags are omitted from feature and scenario names, IDs, and filenames.

    10.0.0upgrade guide

  • Custom commands can be added to browsing contexts.

    10.0.0release notes

  • Set this option to retain the display height used by existing baselines; the default screen is 1920x1080.

    10.0.0upgrade guide

  • Set this option to retain the display width used by existing baselines; the default screen is 1920x1080.

    10.0.0upgrade guide

  • Chromedriver can be downloaded from Electron releases.

    10.0.0release notes

  • forcedColors is a new browser.emulate scope.

    10.0.0upgrade guide

  • A non-awaited $$() list now exposes the command that found the list, such as $$ or custom$$.

    10.0.0upgrade guide

  • A command to install browser extensions is added.

    10.0.0release notes

  • Scenario and step JSON entries now include a line number.

    10.0.0upgrade guide

  • locale is a new browser.emulate scope.

    10.0.0upgrade guide

  • media is a new browser.emulate scope; it shares a media-feature map with colorScheme, and the later call replaces the whole map.

    10.0.0upgrade guide

  • Mocha can run parallel tests in a spec file with parallelMode.

    10.0.0upgrade guide

  • Native headless Wayland support using weston is added.

    10.0.0release notes

  • orientation is a new browser.emulate scope.

    10.0.0upgrade guide

  • A role/ selector is added for selecting by role and accessible name.

    10.0.0release notes

  • screen is a new browser.emulate scope.

    10.0.0upgrade guide

  • scripting is a new browser.emulate scope.

    10.0.0upgrade guide

  • scrollbar is a new browser.emulate scope.

    10.0.0upgrade guide

  • textLayout is a new browser.emulate scope.

    10.0.0upgrade guide

  • timezone is a new browser.emulate scope.

    10.0.0upgrade guide

  • touch is a new browser.emulate scope.

    10.0.0upgrade guide

  • A command to uninstall browser extensions is added.

    10.0.0release notes

  • viewportMeta is a new browser.emulate scope.

    10.0.0upgrade guide

  • Scenarios and steps now include a line field.

    10.0.0upgrade guide

Performance 2

  • The BiDi Mapper log workaround was removed to avoid slowing BiDi commands.

    10.2.0release notes

  • Hot-path performance improvements make test runs faster.

    10.0.0release notes

Behavior and default changes 39

  • The video reporter records each parallel test in its own video and is included in the main repository.

    10.2.0release notes

  • The default of bidiResponseTimeout is set.

    10.1.0release notes

  • Element list items share their commands.

    10.1.0release notes

  • Element commands run this hook once after the wait and any retry, with the result or error from the last try.

    10.0.0upgrade guide

  • A flat capability object in config remains valid and is wrapped into alwaysMatch before WebdriverIO sends the request.

    10.0.0upgrade guide

  • Element commands run this hook once with the command arguments, before waiting for the element; nested commands still have their own hook pair.

    10.0.0upgrade guide

  • On BiDi, traverses history in the top-level context and waits according to pageLoadStrategy and the page-load timeout; Classic behavior is unchanged.

    10.0.0upgrade guide

  • browser.emulate() is driven by the BiDi emulation module.

    10.0.0release notesupgrade guide

  • On BiDi, traverses history in the top-level context and waits according to pageLoadStrategy and the page-load timeout; Classic behavior is unchanged.

    10.0.0upgrade guide

  • WebdriverIO holds a browsing context for a tab, window, or frame.

    10.0.0release notes

  • colorScheme now sets the prefers-color-scheme media feature, so CSS media queries follow matchMedia.

    10.0.0upgrade guide

  • TypeScript 6 deprecates node; create-wdio generates bundler for ESM and NodeNext for CommonJS projects.

    10.0.0upgrade guide

  • The generator installs appium@^3 when Appium is missing or older than 3.

    10.0.0upgrade guide

  • Cucumber BeforeAll and AfterAll hooks are reported as feature hooks; their browser commands and console logs belong to the hook.

    10.0.0upgrade guide

  • Step keywords follow the feature file's language header, then this option; the reporter's language option is used only when this option is unset.

    10.0.0upgrade guide

  • When set to true, the reporter writes no file and logs a warning because the format needs the steps.

    10.0.0upgrade guide

  • The device scope sets user agent, viewport, touch, mobile text layout, and viewport meta from the device descriptor, but does not change screen or orientation.

    10.0.0upgrade guide

  • The geolocation scope uses the browser geolocation stack; a page may still require geolocation permission to be granted.

    10.0.0upgrade guide

  • Multiremote instances are looked up with getInstance.

    10.0.0release notes

  • Hooks are represented as steps with hidden: true and no name.

    10.0.0upgrade guide

  • For Cucumber, the HTML report counts scenarios rather than steps and counts only the last try of a retried scenario.

    10.0.0upgrade guide

  • Jasmine sync matchers remain synchronous.

    10.0.0release notes

  • Use require to load transpilers or other setup files after Mocha removes compilers.

    10.0.0upgrade guide

  • A non-awaited $$() list now exposes the extra arguments of its command.

    10.0.0upgrade guide

  • webdriverio now accepts puppeteer-core versions >=24 <26, including Puppeteer 25.

    10.0.0upgrade guide

  • Selector matching now honors both props and state, supports null filters and nested fragments, and works on frame contexts and elements.

    10.0.0upgrade guide

  • Works with React 16 to 19 and waits up to five seconds for a root; searches all page roots, including open shadow roots, and reflects current renders.

    10.0.0upgrade guide

  • Works with React 16 to 19, waits for roots, searches all page roots, and returns each DOM node once; results can include more elements when a page has multiple roots.

    10.0.0upgrade guide

  • savePDF prints PDFs using browsingContext.print.

    10.0.0release notes

  • On WebdriverIO values this is the WebdriverIO size matcher; on other values it remains Jasmine's length matcher.

    10.0.0upgrade guide

  • The default is now webm; the option accepts webm and mp4. The old value default warns and produces webm.

    10.0.0upgrade guide

  • With scenarioLevelReporter enabled, the reporter writes no file and logs a warning because the format needs the steps.

    10.0.0upgrade guide

  • When tagsInTitle is enabled, tags are omitted from feature and scenario names, ids, and file names.

    10.0.0upgrade guide

  • Hooks are represented as hidden steps without a name.

    10.0.0upgrade guide

  • The recommended config uses this type-aware rule instead of wdio/await-expect when typescript-eslint is installed.

    10.0.0upgrade guide

  • The command accepts the same emulation scopes as browser.emulate and no longer advises reloading for overrides that apply immediately.

    10.0.0upgrade guide

  • In BiDi sessions, the reporter also takes frames after url, back, forward, refresh, and actions; the next command waits for the preceding command's frame.

    10.0.0upgrade guide

  • In BiDi sessions, the reporter captures frames for url, back, forward, refresh, and actions; the next command waits for the preceding command's frame so it shows the correct page.

    10.0.0upgrade guide

  • When using an existing Wayland display, WebdriverIO sets XDG_SESSION_TYPE to wayland for the run.

    10.0.0upgrade guide

Tooling 4

  • WebdriverIO adds a Vitest framework integration with parallel runs and fixtures.

    10.2.0release notes

  • Vitest integration reports every retry attempt and sends grouped hook events.

    10.2.0release notes

  • The browser channel IPC is typed, giving developers type information when working with browser-runner channels.

    10.0.0release notes

  • The session help output is self-documenting, helping developers understand the command and use it more effectively.

    10.0.0release notes

Fixes and other changes 86

  • Package-less Android resource IDs now emit UiSelector.

    10.2.0release notes

  • Chrome on Android through Appium now works with the default session.

    10.2.0release notes

  • A retried Cucumber step attempt now ends with test:retry.

    10.2.0release notes

  • Step results in parallel mode are now reported as they are in sequential mode.

    10.2.0release notes

  • The CLI now supports globs in filesToWatch.

    10.2.0release notes

  • The CLI now applies --headless to multi-remote capabilities.

    10.2.0release notes

  • Key actions now support non-BMP Unicode characters.

    10.2.0release notes

  • In BiDi sessions, link text selectors now match only links.

    10.2.0release notes

  • A JSON body provided to mock.request() is encoded as UTF-8.

    10.2.0release notes

  • A tab or parallel-test mock can now override a session-wide mock for the same URL.

    10.2.0release notes

  • JSON request bodies are now encoded as UTF-8.

    10.2.0release notes

  • Mock clearing is scoped to the tab or parallel test that calls it.

    10.2.0release notes

  • Mock restoration is scoped to the tab or parallel test that calls it.

    10.2.0release notes

  • A tab or window opened by a parallel test now opens from that test's window.

    10.2.0release notes

  • Quotes in selectByAttribute values are now escaped.

    10.2.0release notes

  • The CLI now rejects a shard count of 0 in --shard 0/N.

    10.2.0release notes

  • The shared store now preserves stored null values.

    10.2.0release notes

  • Keys are now encoded in shared-store request paths.

    10.2.0release notes

  • The uninstallAddOn command now uses POST.

    10.2.0release notes

  • Text selectors now produce valid XPath literals.

    10.2.0release notes

  • Vitest integration rejects --repeat.

    10.2.0release notes

  • The W3C script timeout is now set when an Appium iOS session starts.

    10.2.0release notes

  • Cookie handling follows WebDriver BiDi when wdio:experimentalBiDiCommands is enabled and accepts both sameSite spellings.

    10.2.0release notes

  • Cookie handling follows WebDriver BiDi when experimental BiDi commands are enabled and accepts both sameSite spellings.

    10.2.0release notes

  • Screenshots through WebDriver BiDi now work in parallel mode.

    10.2.0release notes

  • The Appium service was smoothed out.

    10.1.1release notes

  • NODE_OPTIONS is cleared for the Appium version check.

    10.1.0release notes

  • The window handle is used as the BiDi context on Appium web contexts.

    10.1.0release notes

  • Pending BiDi commands are rejected when the connection closes.

    10.1.0release notes

  • Failed tree requests are caught in context event handlers.

    10.1.0release notes

  • Warnings explain when a browser download ignores the proxy and when unzip is missing.

    10.1.0release notes

  • Mocha reports browser errors that happen during tests.

    10.1.0release notes

  • An installed browser is used even when only its archive cleanup fails.

    9.33.1, 10.1.0release notesrelease notes

  • Browsers and Chromedriver are installed atomically, downloading once when processes set them up together.

    10.1.0release notes

  • at() and slice() can be typed on a $$() list before it is awaited.

    10.1.0release notes

  • Clicks give the page its scroll events first, including in Safari on iOS, and scroll elements into view before clicks with options.

    10.1.0release notes

  • Command hooks run once for each element command.

    10.1.0release notes

  • Messages for a custom$ element name its custom strategy.

    10.1.0release notes

  • An index the custom$$ list never reaches gets a not-found element.

    10.1.0release notes

  • Elements can be found inside declarative shadow roots.

    10.1.0release notes

  • Waiting for an element removed by the page waits only once.

    9.33.1, 10.1.0release notesrelease notes

  • ElementArray.at() works in browsers without Array.prototype.at.

    10.1.0release notes

  • Event handler functions are no longer wrapped as commands.

    10.1.0release notes

  • Commands from event listeners are caught when the session ends.

    10.1.0release notes

  • Element arguments passed to execute() in BiDi behave as they do in Classic.

    9.33.1, 10.1.0release notesrelease notes

  • The listed WebdriverIO packages use expect-webdriverio 8.0.0; wdio-session accepts only version 8 as the optional peer.

    10.1.0release notes

  • expect.extend() is typed on the global expect.

    10.1.0release notes

  • Plugins specified as file:// URLs can be imported.

    10.1.0release notes

  • A stale list item whose index is gone is treated as not found, and an index uses the not-found item once the list reaches it.

    10.1.0release notes

  • An index the $$() list never reaches gets a not-found element.

    10.1.0release notes

  • BiDi checks for isDisplayed, isFocused, and isStable find a re-rendered element again.

    10.1.0release notes

  • The WebdriverIO attempt is named in Mocha timeout errors, and timeout handling follows Mocha while allowing it to wait for after hooks.

    10.1.0release notes

  • An index the list never reaches gets its own not-found item per instance.

    10.1.0release notes

  • The script timeout applies to execute in WebDriver BiDi sessions.

    10.1.0release notes

  • Spec file URLs remain intact in the run summary.

    9.33.1, 10.1.0release notesrelease notes

  • A command is run again with the new element id after a stale element.

    10.1.0release notes

  • A device is emulated when Chrome reports that viewport meta is not implemented.

    10.1.0release notes

  • Screenshot events are sent to reporters.

    10.1.0release notes

  • The worker log remains open after deleteSession.

    10.1.0release notes

  • Agents stay on the UI path and fail fast.

    10.0.2release notes

  • Custom strategies, matchers, and argument elements can be found again.

    10.0.2release notes

  • Supports expect.extend() for custom matchers in the Jasmine framework.

    10.0.2release notes

  • Keeps expect-webdriverio's expect types and types expectAsync matchers.

    10.0.2release notes

  • Preserves the strict option and index in hasElementId.

    10.0.2release notes

  • Regenerated BiDi types for the script.EvaluationResult rename.

    9.33.1, 10.0.2release notesrelease notes

  • Fixes device emulation with unsupported BiDi.

    10.0.1release notes

  • Tests without a video no longer receive an empty video attachment.

    10.0.0upgrade guide

  • With the Allure reporter, tests without a video no longer receive an empty video attachment.

    10.0.0upgrade guide

  • Ambiguous steps now have status ambiguous, and error_message lists matching step definitions.

    10.0.0upgrade guiderelease notes

  • BiDi execute now returns Blob and File values.

    10.0.0release notes

  • Accepts URLPattern as the url for browser.mock.

    9.32.0, 10.0.0release notesupgrade guide

  • The type now declares then, catch and finally and describes the value before await; use WebdriverIO.ElementArray for the awaited value.

    10.0.0upgrade guide

  • The type now declares then and describes the value before await; use WebdriverIO.Element for the awaited value.

    10.0.0upgrade guide

  • The Xvfb display number is no longer fixed; read it from DISPLAY instead of assuming :99.

    10.0.0upgrade guide

  • Element handling now follows the WebDriver spec for elements from other browsing contexts.

    10.0.0release notes

  • Adds expect.multiRemote() to the Jasmine expect.

    10.0.0release notesupgrade guide

  • expect.oneOf() now works in Jasmine specs.

    10.0.0upgrade guide

  • Commands are routed to their held browsing context, so they act on the intended context.

    10.0.0release notes

  • mock.waitForResponse() works with Firefox 304 responses and in every session.

    10.0.0release notes

  • In multiremote, nextElement, previousElement, and parentElement return a MultiRemoteElement.

    10.0.0release notes

  • In multiremote, custom$, react$, and shadow$ return a MultiRemoteElement.

    10.0.0release notes

  • In multiremote, custom$$, react$$, and shadow$$ return a MultiRemoteElementArray.

    10.0.0release notes

  • Multiremote $$ items now work for missing and late elements.

    10.0.0release notes

  • Feature ids retain characters such as colons and slashes; only spaces become hyphens.

    10.0.0upgrade guide

  • Ambiguous steps now have status ambiguous, and error_message lists matching step definitions.

    10.0.0upgrade guide

  • Scripts returning NodeList or HTMLCollection now produce element references, allowing execute and custom locator strategies to work with those results as elements.

    10.0.0upgrade guide

webdriverio 9194 changes

Breaking changes 12

  • Event handler functions are no longer wrapped as commands.

    9.33.1release notes

  • MultiRemote getInstance now throws instead of returning undefined.

    9.33.1release notes

  • WebdriverIO now requires Node.js releases that include the eMudhra CA fix.

    9.33.1release notes

  • Classic cookie filtering now requires all filter attributes.

    9.31.5release notes

  • Removes the mobile command wrapper.

    9.27.0release notes

  • Deprecated Appium protocol commands were renamed for Appium 3 compatibility.

    9.26.0release notes

  • autoCompileOpts was removed as ts-node was replaced with tsx.

    9.0.0release notes

  • Capability type definitions changed; developers may need to update capability declarations.

    9.0.0release notes

  • WebdriverIO migrated from got to fetch, which may affect developers relying on the previous HTTP client behavior.

    9.0.0release notes

  • JSONWireProtocol was removed.

    9.0.0release notes

  • Support for Node.js 16 was dropped.

    9.0.0release notes

  • WebdriverIO automatically opts into WebDriver Bidi.

    9.0.0release notes

Security 3

New APIs and options 29

  • Adds isMultiRemote alongside the deprecated isMultiremote.

    9.33.1release notes

  • Upgrades to expect-wdio 7 for Multi-remote Assertion Support.

    9.33.1release notes

  • Adds support for accepting mobile permission dialogs.

    9.32.0release notes

  • Adds support for CPU and heap profiling.

    9.32.0release notes

  • Adds the Dioxus service to the project creation wizard.

    9.32.0release notes

  • Adds support for dismissing mobile permission dialogs.

    9.32.0release notes

  • Supports CHROMEDRIVER_CDNURL for custom ChromeDriver mirrors.

    9.31.9release notes

  • create-wdio adds third party service null-driver support.

    9.31.6release notes

  • Adds beta ElementArray support under a feature flag for multiRemote.$$(), including MultiRemoteElement[].

    9.31.4release notes

  • Multi-remote instance and element support is enhanced with filter.

    9.31.2release notes

  • The Allure reporter adds a title path.

    9.31.2release notes

  • Expect adds support for multi-element $$() queries.

    9.31.0release notes

  • The WebDriver Bidi response timeout is configurable.

    9.30.1release notes

  • BrowserStack service ships its accessibility Browser type augmentations.

    9.30.0release notes

  • Adds one-to-many Test-Case-ID tagging in the BrowserStack service.

    9.29.1release notes

  • create-wdio adds a Tauri service.

    9.27.2release notes

  • Adds BiDi network data support.

    9.27.1release notes

  • The option can now exclude test suites by name.

    9.23.1release notes

  • The Appium service can start Appium Inspector from the CLI.

    9.22.0release notes

  • A custom timeout can now be passed when starting Appium.

    9.22.0release notes

  • The BrowserStack service implements BrowserStack CLI support.

    9.21.0release notes

  • The Allure reporter adds mode and excluded properties for parameters.

    9.21.0release notes

  • Component tests can use a custom hostname.

    9.0.0release notes

  • Deep shadow root piercing was added.

    9.0.0release notes

  • A dialog handler was added.

    9.0.0release notes

  • WebdriverIO added support for fake timers.

    9.0.0release notes

  • Using preload scripts was made easier.

    9.0.0release notes

  • A new command lets developers set the viewport.

    9.0.0release notes

  • The url command gained new features.

    9.0.0release notes

Performance 1

  • Improves selector performance in the Appium service.

    9.24.0release notes

Behavior and default changes 9

  • Select moved into beta and still requires an environment flag.

    9.31.7release notes

  • The unstable Multi-remote select implementations were reviewed and the filter was removed.

    9.31.5release notes

  • Multi-remote instance and element support is enhanced with select.

    9.31.2release notes

  • WDIO CLI-flow App Automate sessions are routed to app-accessibility.

    9.30.0release notes

  • BrowserStack skips accessibility scans for BiDi window/context commands.

    9.30.0release notes

  • Allure reporter attaches suite-level before/after all hook steps to every test.

    9.30.0release notes

  • The gRPC message limit in WDIO-v9 is updated to 20 MB.

    9.27.2release notes

  • Adds the spec file name to the log file prefix.

    9.23.3release notes

  • Enhanced getContext, getContexts, and switchContext APIs.

    9.23.0release notes

Tooling 6

  • The create-wdio wizard now offers the devtools service.

    9.33.1release notes

  • The CLI REPL now supports TypeScript files.

    9.31.0release notes

  • BrowserStack reports Mocha hooks in the CLI/testhub flow.

    9.30.0release notes

  • create-wdio migrates its Electron setup to @wdio/electron-service.

    9.27.2release notes

  • The plugin follows the ESLint v9 plugin specification.

    9.26.0release notes

  • Uses a no-floating-promise ESLint rule to catch missing await statements.

    9.25.0release notes

Fixes and other changes 134

  • In-flight commands continue to be aborted after the first command completes.

    9.33.1release notes

  • Browsers and drivers are unzipped with an OS tool on Node 26.

    9.33.1release notes

  • Browser installation retries clean up correctly.

    9.33.1release notes

  • Custom Vite and Stencil config files are imported via file URLs.

    9.33.1release notes

  • Concurrent setups now share a driver installation.

    9.33.1release notes

  • The local runner preserves --enable-source-maps and deduplicates worker NODE_OPTIONS.

    9.33.1release notes

  • The Allure reporter now carries the hook error and a historyId on failed hooks.

    9.33.1release notes

  • Mock responses now respect fetchResponse.

    9.33.1release notes

  • Mock responses no longer get blocked in Firefox.

    9.33.1release notes

  • An intercepted request is released once per phase.

    9.33.1release notes

  • Multiremote mockRestoreAll restores only mocks owned by the instance.

    9.33.1release notes

  • The CLI now loads tsx on Node.js 18.

    9.33.1release notes

  • The browser runner polyfills path and __dirname in pre-bundled dependencies.

    9.33.1release notes

  • Short strings are no longer logged as screenshots.

    9.33.1release notes

  • Elements in nested scroll containers use native scrollIntoView.

    9.33.1release notes

  • Works correctly on multi-remote browsers.

    9.32.0release notes

  • Uses the BiDi accessibility locator for aria selectors.

    9.32.0release notes

  • Enables followRedirects for BiDi connections.

    9.32.0release notes

  • Honors exclusion options when retrieving HTML.

    9.32.0release notes

  • Adds undefined as a possible return type.

    9.32.0release notes

  • Resolves a mock state error and race condition.

    9.32.0release notes

  • Handles dynamic function payloads in mock responses.

    9.32.0release notes

  • Uses the correct navigation ID when waiting for network idle.

    9.32.0release notes

  • Reports a non-zero exit code for workers terminated by a signal.

    9.32.0release notes

  • Re-throws the original stale-element error when refetching fails.

    9.32.0release notes

  • Keeps a valid top-level context and can recover a destroyed context when switching to the parent frame.

    9.32.0release notes

  • Applies network throttling conditions to service workers.

    9.32.0release notes

  • Fixes EdgeDriver upgrades when the browser version is missing the corresponding driver architecture.

    9.31.9release notes

  • Restores nested and Shadow DOM scrolling in scrollIntoView.

    9.31.8release notes

  • Tracks the lifecycle of dialog listeners.

    9.31.6release notes

  • Applies keyword exclude to grouped specs.

    9.31.6release notes

  • Clears shadow roots when navigation starts.

    9.31.6release notes

  • Rejects invalid timeout values.

    9.31.6release notes

  • Retries after a failed sync.

    9.31.6release notes

  • BiDi no such node errors are handled as stale errors.

    9.31.5release notes

  • Tracks the document element separately per context.

    9.31.4release notes

  • Correctly serializes IPv6 BiDi WebSocket candidates.

    9.31.4release notes

  • Typing for expect-wdio/api was fixed.

    9.31.3release notes

  • Spec files are retried when session creation fails.

    9.31.3release notes

  • The .cts file extension is added to the supported extensions for configuration files.

    9.31.2release notes

  • Matching mock responses are now recorded even when they are not blocked.

    9.31.2release notes

  • The create-wdio setup installs @serenity-js/html-reporter instead of @senity-js/serenity-bdd.

    9.31.2release notes

  • Requests aborted by connectionRetryTimeout are now retried.

    9.31.0release notes

  • The current context is reset when its browsing context is destroyed.

    9.31.0release notes

  • Element command overrides are now composed.

    9.31.0release notes

  • The wheel action now scrolls by deltaX and deltaY.

    9.31.0release notes

  • An undefined element that passes a filter is now kept.

    9.31.0release notes

  • Driver setup now respects WEBDRIVER_CACHE_DIR.

    9.31.0release notes

  • Guards the Object.keys call when the request body is stringified.

    9.30.1release notes

  • With Cucumber Opts.scenarioLevelReporter, scenarios are reported as testcases.

    9.30.1release notes

  • BrowserStack accessibility options supplied as stringified booleans are coerced.

    9.30.0release notes

  • BrowserStack finalizes orphaned test runs when the process exits interrupted.

    9.30.0release notes

  • Scoped element lookups no longer include unrelated shadow roots.

    9.30.0release notes

  • The CDDL was updated and regenerated to correct a null literal in the protocol definitions.

    9.30.0release notes

  • In BiDi, skips the isConnected check for non-shadow element scopes.

    9.29.1release notes

  • wdio-utils now uses a supported EdgeDriver CDN.

    9.29.0release notes

  • Fixes finished metadata for reloadSession in the BrowserStack service.

    9.29.0release notes

  • waitForResponse now waits for the networkCollector's response.

    9.29.0release notes

  • The BrowserStack config.accessibility issue was addressed.

    9.28.0release notes

  • The logger is now CJS compliant, fixing compatibility for CommonJS consumers.

    9.28.0release notes

  • The BrowserStack service omits unset accessibility configuration.

    9.27.2release notes

  • The BrowserStack service and wdio-types now honor the skipped status.

    9.27.2release notes

  • Fixes an EBUSY file-busy error during spawn.

    9.27.2release notes

  • Calls the afterSession hook when session initialization fails.

    9.27.1release notes

  • Skips desktop browser download when androidPackage is set.

    9.27.1release notes

  • Fixes disableElementImplicitWait when it is defined too early.

    9.27.1release notes

  • Allure reporter historyId now uses the capability key instead of cid.

    9.27.1release notes

  • Fixes stale shadow element behavior.

    9.27.1release notes

  • Prevents a shadow root memory leak during SPA navigation.

    9.27.1release notes

  • Reverts the protocol rename of queryAppState.

    9.27.0release notes

  • Fixes service startup failures caused by Appium stderr log output.

    9.27.0release notes

  • Fixes TypeScript 7 compatibility.

    9.27.0release notes

  • Fixed mobile command argument mismatches for Appium 3 compatibility.

    9.26.1release notes

  • Updates the exit signal used for CLI process termination on Unix.

    8.48.1, 9.25.0release notesrelease notesrelease notesrelease notes

  • Ensures getValue returns a string.

    9.25.0release notes

  • Ignores the 'no such frame' error in handleUserPrompt.

    9.25.0release notes

  • Properly resolves pending steps and status …

    9.25.0release notes

  • Correctly detects the Cucumber framework in mult…

    9.25.0release notes

  • Improves robustness for BiDi cookies.

    9.23.3release notes

  • Fixes overlapping capabilities.

    9.23.3release notes

  • Restores the jiti fallback for CJS named imports in wdio-config.

    9.23.3release notes

  • Attaches Cucumber data tables to the step instead of the previously used location.

    9.23.3release notes

  • Fixes a Jasmine error in the Sauce service.

    9.23.3release notes

  • Passes through clean NODE_OPTIONS in the Appium service.

    9.23.3release notes

  • Allows parallel runs to download the CLI.

    9.23.3release notes

  • Allows waitForClickable in native context if the browser condition is met.

    9.23.3release notes

  • Corrects typings and inconsistencies in commands.

    9.23.3release notes

  • BiDi navigation now handles the 'no such frame' error.

    9.23.1release notes

  • Chaining element command overwrites no longer produces undefined binds.

    9.23.1release notes

  • The nested describe structure is preserved by the Jasmine and Allure integration.

    9.23.1release notes

  • Specs added dynamically in this hook are now handled correctly.

    9.23.1release notes

  • Relative XPath chaining works in BiDi mode.

    9.23.1release notes

  • Timeouts are propagated correctly during retries.

    9.23.1release notes

  • The shared-store service uses 127.0.0.1 instead of localhost.

    9.23.1release notes

  • The JUnit reporter no longer reports a skipped test when no tests are executed.

    9.23.1release notes

  • This setting can now be overridden in the beforeSession hook.

    9.23.1release notes

  • The command no longer uses double ports.

    9.23.1release notes

  • The browser runner now prioritizes this package for Tailwind CSS PostCSS handling.

    9.23.1release notes

  • Calling this.skip() in Mocha hooks is no longer reported as a failure.

    9.23.1release notes

  • Overlapping W3C capabilities are normalized.

    9.23.1release notes

  • Stuck workers are force-killed after the shutdown timeout.

    9.23.1release notes

  • Restores hook data for Jasmine 5.10 and later.

    9.23.0release notes

  • Rethrows pending and skip errors for Jasmine.

    9.23.0release notes

  • Handles a 'no such alert' error when a dialog closes.

    9.23.0release notes

  • The command no longer swaps a valid indexed element.

    9.23.0release notesrelease notes

  • Action IDs are now type-specific to comply with the W3C WebDriver specification.

    9.22.0release notes

  • The BrowserStack service's BiDi syntax error is fixed.

    9.22.0release notes

  • Wildcard support in browser.mock is fixed.

    9.22.0release notes

  • File contention in the BrowserStack CLI is fixed.

    9.22.0release notes

  • Chrome workers on Windows now use a unique user-data directory.

    9.22.0release notes

  • The CLI no longer loads the config file twice and fixes tsx file timing load issues.

    9.22.0release notes

  • Framework timeouts are propagated to the shim to avoid premature behavior.

    9.22.0release notes

  • The implicit wait now handles stale elements correctly.

    9.22.0release notes

  • The Allure reporter now includes the capability ID in historyId for multi-capability runs.

    9.22.0release notes

  • isElementClickable is fixed for Perfecto mobile devices.

    9.22.0release notes

  • isElementDisplayed is fixed for Perfecto mobile devices.

    9.22.0release notes

  • The CLI check for parallel multiremote is corrected for empty capabilities.

    9.22.0release notes

  • The attach command now flattens options to the top level for waitFor commands.

    9.22.0release notes

  • Handling is fixed for multiple webviews with the same package when the first webview is empty.

    9.22.0release notes

  • Absolute paths are obtained using native path.resolve.

    9.21.0release notes

  • The launcher ignores warnings and debugger messages.

    9.21.0release notes

  • All options are passed to fetch.

    9.21.0release notes

  • Stale elements are detected in BiDi mode when using getCSSProperty.

    9.21.0release notes

  • The getHTML return type is corrected.

    9.21.0release notes

  • The withinViewport check logic is corrected.

    9.21.0release notes

  • The CLI respects maxInstancesPerCapability for dynamic capabilities.

    9.21.0release notes

  • Request mocking works when the mock is specified with a hostname only.

    9.21.0release notes

  • The JUnit reporter adds property support for Cucumber tests.

    9.21.0release notes

  • waitForExist maintains elementIds for shadow elements.

    9.21.0release notes

  • Adds a semicolon to fix browser.execute on Perfecto.

    9.20.1release notes

  • Prevents stale CSS property reads in WebDriver Bidi mode.

    9.20.1release notes

  • Reverts the tsConfigPath change in wdio.conf.

    9.20.1release notes

  • Fixes wdio repl when run with multiremote capabilities.

    9.20.1release notes

  • Invokes terminate on all unsuccessful websocket candidates.

    9.20.1release notes

webdriverio 815 changes

Breaking changes 6

  • browser.config was removed; use browser.options instead. Custom properties should be assigned through a custom capability or shared-store-service.

    8.0.0release notes

  • The code base transitioned from CommonJS to ESM; the notes warn that untested functionality may not behave the same.

    8.0.0release notes

  • Support for Node.js v12, v13 and v14 was dropped.

    8.0.0release notes

  • Support for tsconfig-paths was discontinued.

    8.0.0release notes

  • WebdriverIO types are now accessible through this path instead of webdriverio/async.

    8.0.0release notes

  • The previously deprecated @wdio/sync package was removed.

    8.0.0release notes

New APIs and options 5

  • Adds the centralHeader key for app accessibility authentication in the BrowserStack service.

    8.48.0release notes

  • A new Action API was added.

    8.0.0release notes

  • The wizard adds support for browser runner selection.

    8.0.0release notes

  • A new runner plugin allows you to run unit and component tests in the browser.

    8.0.0release notes

  • A new package provides access to WebdriverIO primitives.

    8.0.0release notes

Behavior and default changes 3

Tooling 1

webdriverio 716 changes

Breaking changes 6

  • The Cucumber integration now uses Cucumber v7.

    7.0.0release notes

  • Node.js v10 support is dropped; Node.js v12 and higher are recommended.

    7.0.0release notes

  • Performance tests no longer apply default environment changes; pass the desired emulation information when running enablePerformanceAudits.

    7.0.0release notes

  • TypeScript v4 or higher is required.

    7.0.0release notes

  • Invalid capabilities combining W3C and outdated JSONWireProtocol capability sets now cause an error.

    7.0.0release notes

  • TypeScript users with custom commands must add webdriverio/sync to their types list for proper type support.

    7.0.0release notes

New APIs and options 6

  • Adds a command that tests PWA apps using Lighthouse audits for installability and PWA optimization, without checking for HTTPS redirect.

    7.0.0release notes

  • The new formFactor option adjusts performance results based on the test environment and weights performance factors accordingly.

    7.0.0release notes

  • Adds a command for asserting application code coverage in tests.

    7.0.0release notes

  • Configure coverage capture for JavaScript application files with coverageReporter, including whether it is enabled, its type, and its log directory.

    7.0.0release notes

  • Adds sharable Sauce Labs report links to the spec reporter.

    7.0.0release notes

  • Custom command types can be declared by extending the global WebdriverIO.Browser interface.

    7.0.0release notes

Behavior and default changes 1

  • Google Lighthouse support now includes the latest performance metrics introduced in Lighthouse v7.

    7.0.0release notes

Tooling 2

  • The worker automatically compiles configuration and test files using Babel or TypeScript, allowing import statements in configuration without additional setup.

    7.0.0release notes

  • The testrunner automatically compiles TypeScript configuration files when TypeScript is detected, enabling type safety without additional setup.

    7.0.0release notes

Fixes and other changes 1

  • Cucumber hook types now match the original Cucumber types for type safety.

    7.0.0release notes