Skip to content

Latest commit

 

History

History
1966 lines (1463 loc) · 99.7 KB

CHANGELOG.md

File metadata and controls

1966 lines (1463 loc) · 99.7 KB

Changelog

Tags:

  • 💥 [Breaking Change]
  • 👓 [Spec Compliancy]
  • 🚀 [New Feature]
  • 🐛 [Bug Fix]
  • 📝 [Documentation]
  • 🏠 [Internal]
  • 💅 [Polish]

Note: Gaps between patch versions are faulty, broken or test releases.

See CHANGELOG - v4.

See CHANGELOG - v5.

See CHANGELOG - v6


v7.20.7 (2022-07-17)

🐛 Bug Fix

  • wdio-local-runner, webdriver
    • #8506 patch for 6068, adding a flag about clearing logger on session end (@wyhmichael)

💅 Polish

  • wdio-browserstack-service, wdio-types
    • #8524 handle local and wdioService capabilities when jsonwp format caps are passed (@Ankit098)

Committers: 2

v7.20.6 (2022-07-15)

🚀 New Feature

  • webdriverio

🐛 Bug Fix

  • wdio-local-runner, webdriverio
    • #8486 The index should return a promise so changed it accordingly (@joshskumar)
  • wdio-config

📝 Documentation

Committers: 6

v7.20.5 (2022-06-23)

🐛 Bug Fix

  • webdriverio

💅 Polish

  • wdio-browserstack-service

Committers: 2

v7.20.4 (2022-06-22)

🚀 New Feature

🐛 Bug Fix

Committers: 2

v7.20.3 (2022-06-20)

🐛 Bug Fix

  • webdriverio

Committers: 1

v7.20.2 (2022-06-10)

👓 Spec Compliancy

🐛 Bug Fix

  • devtools
    • #8420 fix: Clear executeScript timeout in case of promise rejection (@efyx)

📝 Documentation

Committers: 3

v7.20.0 (2022-06-03)

👓 Spec Compliancy

  • wdio-protocols
    • #8399 add:parameter to toggleNetworkSpeed endpoint (@hammzj)

🐛 Bug Fix

💅 Polish

  • wdio-browserstack-service, wdio-types
  • wdio-appium-service, wdio-cli, wdio-devtools-service, wdio-sumologic-reporter, webdriverio

📝 Documentation

Committers: 9

v7.19.7 (2022-05-03)

🚀 New Feature

  • webdriver

🐛 Bug Fix

Committers: 3

v7.19.6 (2022-04-22)

📝 Documentation

🏠 Internal

Committers: 3

v7.19.5 (2022-04-13)

🐛 Bug Fix

Committers: 2

v7.19.4 (2022-04-11)

📝 Documentation

Committers: 4

v7.19.3 (2022-03-31)

🐛 Bug Fix

Committers: 1

v7.19.2 (2022-03-29)

💅 Polish

Committers: 1

v7.19.1 (2022-03-24)

💅 Polish

  • wdio-types
    • #8151 chore(wdio-types): remove implicit dependency on ts-node (@boneskull)
  • wdio-utils

Committers: 2

v7.19.0 (2022-03-22)

🚀 New Feature

🐛 Bug Fix

📝 Documentation

  • wdio-cli
    • #8133 Replacement of wdio-tesults-reporter with wdio-tesults-service (@ajeetd)
  • Other

Committers: 4

v7.18.0 (2022-03-16)

🚀 New Feature

  • wdio-cli, wdio-config, wdio-smoke-test-service, wdio-types, webdriverio

🐛 Bug Fix

🏠 Internal

  • Other
  • wdio-config, wdio-shared-store-service
    • #8097 fix: unit tests in windows (resolves file path and build issues in windows) (@harsha509)

Committers: 2

v7.17.4 (2022-03-10)

🐛 Bug Fix

💅 Polish

Committers: 2

v7.17.0 (2022-03-10)

💅 Polish

  • wdio-spec-reporter
    • #7877 Allow option to disable the preface in spec reporter (@zmilonas)

📝 Documentation

  • wdio-devtools-service
    • #8049 Update Readme. Add 'exclude' for coverageReporter (@bkrrrr)
  • Other

Committers: 5

v7.16.16 (2022-02-22)

🐛 Bug Fix

  • webdriver
    • #8020 Webdriver: Fix stacktrace not being displayed on some errors (@WillBrock)

📝 Documentation

  • wdio-cli
  • Other

Committers: 2

v7.16.15 (2022-02-10)

💅 Polish

Tags:

  • 💥 [Breaking Change]
  • 👓 [Spec Compliancy]
  • 🚀 [New Feature]
  • 🐛 [Bug Fix]
  • 📝 [Documentation]
  • 🏠 [Internal]
  • 💅 [Polish]

Note: Gaps between patch versions are faulty, broken or test releases.

See CHANGELOG - v4.

See CHANGELOG - v5.

See CHANGELOG - v6

(@starpit)

  • wdio-cli
    • #7878 Make npm install step optional in CLI wizard (@gpt14)

📝 Documentation

🏠 Internal

  • devtools, wdio-devtools-service, webdriverio

Committers: 7

v7.16.14 (2022-01-29)

🐛 Bug Fix

💅 Polish

  • wdio-junit-reporter
    • #7942 Ensure correct reporting when a thread runs more then 1 Cucumber feature (spec) (@mikesalvia)

📝 Documentation

  • Other
    • #7936 Adding Tesults reporter to CLI and reporter list (@ajeetd)
  • wdio-cli
    • #7941 Add @badisi/wdio-harness as an external plugins (@Badisi)
    • #7924 Adding Tesults reporter to CLI and reporter list (@ajeetd)

Committers: 5

v7.16.13 (2022-01-10)

🚀 New Feature

  • wdio-cli, wdio-spec-reporter

🐛 Bug Fix

  • wdio-sauce-service
  • wdio-reporter
  • wdio-cli
    • #7720 Fix for bug #7640 run is not working when project already has a misconfigured tsconfig.json (@praveendvd)

💅 Polish

  • wdio-cli
    • #7852 Moves wait-for from services to a new section called Plugins (@gpt14)

📝 Documentation

🏠 Internal

  • webdriverio

Committers: 6

v7.16.12 (2021-12-15)

📝 Documentation

  • wdio-cli, wdio-cucumber-framework, wdio-junit-reporter
    • #7818 Removed cucumberopts profile and format that has no support yet. (@praveendvd)
  • Other

Committers: 2

v7.16.11 (2021-12-10)

🐛 Bug Fix

💅 Polish

📝 Documentation

Committers: 4

v7.16.10 (2021-11-25)

🐛 Bug Fix

  • devtools

💅 Polish

Committers: 3

v7.16.9 (2021-11-22)

🐛 Bug Fix

💅 Polish

  • wdio-devtools-service, webdriver, webdriverio

📝 Documentation

Committers: 4

v7.16.8 (2021-11-15)

💅 Polish

🏠 Internal

Committers: 3

v7.16.7 (2021-11-12)

🚀 New Feature

🐛 Bug Fix

Committers: 2

v7.16.6 (2021-11-10)

🐛 Bug Fix

💅 Polish

Committers: 3

v7.16.5 (2021-11-09)

💅 Polish

  • wdio-cli, wdio-cucumber-framework
    • #7662 Issue 7651: add Cucumber World object back to step/scenario hooks (@jvisco)

📝 Documentation

Committers: 2

v7.16.4 (2021-11-03)

🐛 Bug Fix

📝 Documentation

Committers: 5

v7.16.3 (2021-10-26)

🐛 Bug Fix

💅 Polish

  • wdio-cucumber-framework, wdio-jasmine-framework, wdio-mocha-framework

📝 Documentation

Committers: 2

v7.16.1 (2021-10-22)

🐛 Bug Fix

💅 Polish

  • wdio-cucumber-framework, wdio-reporter, wdio-spec-reporter
    • #7554 #7439 Propagating rule keyboard to wdio-spec-reporter (@lthurr)

📝 Documentation

Committers: 2

v7.15.0 (2021-10-08)

🚀 New Feature

  • wdio-junit-reporter
    • #7525 feat(wdio-junit-reporter): allow to override className format (@Slashgear)
  • wdio-shared-store-service
    • #7519 feat(shared-store-service): export set and get value globally (@Slashgear)

📝 Documentation

  • #7529 7324 - added support for fragment identifiers (#) in 3rd party doc (@babusekaran)

Committers: 2

v7.14.1 (2021-10-04)

🐛 Bug Fix

Committers: 1

v7.14.0 (2021-09-30)

🐛 Bug Fix

💅 Polish

  • wdio-cli
    • #7471 Check for tsconfig file and create if it doesn't exists for type script project (@praveendvd)

📝 Documentation

  • #7487 Added boiler plate code for webdriverIO electronjs , winappdriver , mutiremote setups (@praveendvd)

Committers: 2

v7.13.2 (2021-09-27)

📝 Documentation

  • wdio-jasmine-framework, wdio-types, wdio-utils
  • wdio-protocols
  • wdio-allure-reporter

🏠 Internal

Committers: 3

v7.13.1 (2021-09-23)

🐛 Bug Fix

Committers: 1

v7.13.0 (2021-09-22)

🚀 New Feature

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 1

v7.12.5 (2021-09-14)

🐛 Bug Fix

Committers: 2

v7.12.3 (2021-09-10)

🐛 Bug Fix

Committers: 1

v7.12.2 (2021-09-08)

🐛 Bug Fix

  • wdio-utils, wdio-webdriver-mock-service, webdriverio

Committers: 1

v7.12.1 (2021-09-07)

🚀 New Feature

  • wdio-cli, wdio-cucumber-framework

💅 Polish

  • webdriverio
    • #7352 chore: make return value optional in executeAsync function (@Joozty)

Committers: 2

v7.12.0 (2021-09-06)

🚀 New Feature

  • wdio-protocols, wdio-utils, webdriver, webdriverio

🐛 Bug Fix

💅 Polish

📝 Documentation

Committers: 5

v7.11.1 (2021-08-30)

🐛 Bug Fix

  • wdio-jasmine-framework, wdio-junit-reporter, wdio-mocha-framework
    • #7357 (junit-reporter) Include all parent suites in suite.fullTitle (@lthurr)

💅 Polish

Committers: 2

v7.11.0 (2021-08-26)

👓 Spec Compliancy

  • wdio-protocols
    • #7329 fix: correct appium protocol use of app/bundle ID (@jlipps)

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 3

v7.10.1 (2021-08-23)

💅 Polish

📝 Documentation

  • #7296 website/docs: fix confusing adjective usage (@p1100i)

Committers: 2

v7.10.0 (2021-08-17)

🐛 Bug Fix

  • wdio-utils, wdio-webdriver-mock-service
  • wdio-runner
  • wdio-utils
  • wdio-browserstack-service
    • #7198 Set most parent Jasmine describe as BrowserStack session name in wdio-browserstack-service (@sbley)

💅 Polish

📝 Documentation

🏠 Internal

Committers: 4

v7.9.1 (2021-08-09)

🐛 Bug Fix

💅 Polish

📝 Documentation

Committers: 4

v7.9.0 (2021-07-28)

🚀 New Feature

  • wdio-cli, wdio-jasmine-framework, wdio-utils, wdio-webdriver-mock-service, webdriverio

🐛 Bug Fix

💅 Polish

  • webdriverio

🏠 Internal

Committers: 4

v7.8.0 (2021-07-22)

🐛 Bug Fix

  • wdio-mocha-framework
    • #7171 @wdio/mocha-framework - fix deprecation warning (@unickq)

💅 Polish

  • wdio-cucumber-framework
    • #7153 Fix for rule keyowrd not working 'Cannot use Rule keyword in Cucumber… (@praveendvd)

🏠 Internal

  • devtools, wdio-browserstack-service, wdio-crossbrowsertesting-service, wdio-sauce-service, wdio-testingbot-service, wdio-types, webdriver

Committers: 3

v7.7.8 (2021-07-19)

🐛 Bug Fix

💅 Polish

🏠 Internal

Committers: 4

v7.7.7 (2021-07-16)

🚀 New Feature

  • wdio-mocha-framework, wdio-reporter, wdio-spec-reporter

💅 Polish

  • wdio-config, wdio-runner, wdio-types, webdriverio
  • wdio-cli
  • wdio-allure-reporter, wdio-spec-reporter
    • #7134 Added ability to add console log to allure and spec reporters (fix for #7001) (@praveendvd)
  • webdriverio
    • #7136 Fix CSS selector misinterpretation (#7087) (@L0tso)

📝 Documentation

🏠 Internal

Committers: 4

v7.7.6 (2021-07-14)

🐛 Bug Fix

  • wdio-allure-reporter
    • #7081 Fix for Cucumber Data Table not showing in allure report #7078 (@praveendvd)

🏠 Internal

Committers: 2

v7.7.5 (2021-07-12)

🐛 Bug Fix

💅 Polish

  • wdio-cli
  • wdio-junit-reporter
    • #7054 @wdio/junit-reporter - replace ansi chars in test.error.message (@unickq)

📝 Documentation

  • wdio-selenium-standalone-service
    • #7093 (docs) Updating @wdio/selenium-standalone-service install version (@harsha509)
  • webdriverio
  • Other

Committers: 6

v7.7.4 (2021-06-20)

👓 Spec Compliancy

  • wdio-protocols

🐛 Bug Fix

💅 Polish

  • wdio-selenium-standalone-service
  • wdio-sauce-service
  • wdio-devtools-service
    • #7027 Support Firefox 86+ in Devtools Service & Migrate from deprecated Console domain (@dylanlive)

📝 Documentation

  • #6996 Add in Learn WebdriverIO course link to homepage masthead (@klamping)

Committers: 6

v7.7.3 (2021-06-04)

💅 Polish

  • wdio-cli, wdio-sauce-service, wdio-spec-reporter, wdio-types, webdriverio
  • wdio-utils
  • wdio-mocha-framework
    • #6967 fix(mocha-framework): move @types/mocha and @types/node to devDepende… (@PiQx)

Committers: 3

v7.7.2 (2021-06-01)

🐛 Bug Fix

Committers: 1

v7.7.0 (2021-06-01)

🚀 New Feature

🐛 Bug Fix

💅 Polish

  • wdio-devtools-service
  • wdio-cli, wdio-crossbrowsertesting-service, wdio-cucumber-framework, wdio-sauce-service, wdio-testingbot-service, wdio-types

📝 Documentation

  • Other
  • webdriverio
    • #6934 Click x and y are actually counted from center of element (@stwippie)
  • wdio-cli
    • #6933 CLI : Update visual-regression-testing to image-comparison (@pjcalvo)
  • wdio-cucumber-framework

Committers: 6

v7.6.1 (2021-05-25)

🐛 Bug Fix

  • webdriverio
  • wdio-allure-reporter, wdio-cucumber-framework
    • #6874 6859 - Fixes the issue where wdio before/after Step gets wrapped around a Cucumber Before/After Step (@jonn-set)

💅 Polish

  • wdio-cli, wdio-cucumber-framework, wdio-spec-reporter
    • #6836 Modifies the cucumberEventListener to emit before-feature and after-feature events differently when using spec grouping configurations (@mikesalvia)

📝 Documentation

Committers: 5

v7.6.0 (2021-05-17)

🚀 New Feature

  • wdio-spec-reporter

🐛 Bug Fix

💅 Polish

  • devtools, wdio-utils, webdriverio

📝 Documentation

🏠 Internal

  • wdio-cucumber-framework, wdio-jasmine-framework, wdio-mocha-framework

Committers: 7

v7.5.7 (2021-05-06)

🐛 Bug Fix

💅 Polish

Committers: 1

v7.5.6 (2021-05-05)

🐛 Bug Fix

💅 Polish

📝 Documentation

Committers: 3

v7.5.5 (2021-05-03)

💅 Polish

  • wdio-local-runner

Committers: 1

v7.5.4 (2021-04-30)

📝 Documentation

Committers: 1

v7.5.3 (2021-04-30)

💅 Polish

  • wdio-local-runner

📝 Documentation

  • #6782 Documentation fix: Removed $ sign in commands so it wont be copied (@Xotabu4)
  • #6762 Added wdio 7 with appium and cucumber boilerplate (@Arjun-Ar91)

Committers: 3

v7.5.2 (2021-04-26)

🐛 Bug Fix

💅 Polish

📝 Documentation

  • #6755 Add documentation for accessing browser instances via strings (@evilC)

Committers: 4

v7.5.1 (2021-04-21)

🐛 Bug Fix

📝 Documentation

Committers: 3

v7.5.0 (2021-04-20)

🚀 New Feature

🐛 Bug Fix

💅 Polish

  • wdio-config

📝 Documentation

Committers: 6

v7.4.6 (2021-04-15)

💅 Polish

Committers: 2

v7.4.4 (2021-04-14)

📝 Documentation

  • #6708 Update name and link to @wdio/browserstack-service (@sbley)

Committers: 1

v7.4.0 (2021-04-13)

🚀 New Feature

🐛 Bug Fix

  • wdio-devtools-service
  • wdio-reporter, wdio-runner, wdio-spec-reporter, wdio-types
  • wdio-selenium-standalone-service
  • wdio-jasmine-framework
  • wdio-browserstack-service
    • #6683 [BUGFIX] wdio-browserstack-service using the wrong session url when w3c properties are enforced (@sanghun89)

💅 Polish

📝 Documentation

Committers: 5

v7.3.1 (2021-04-08)

🐛 Bug Fix

💅 Polish

  • wdio-types, webdriverio
    • #6673 webdriverio: Allow to use devtools features for Aerokube Selenoid\Moon sessions (@BorisOsipov)

📝 Documentation

Committers: 7

v7.3.0 (2021-03-30)

🚀 New Feature

  • wdio-cli, wdio-config, wdio-reporter, wdio-spec-reporter
  • devtools, webdriverio

🐛 Bug Fix

📝 Documentation

Committers: 6

v7.2.2 (2021-03-22)

🐛 Bug Fix

💅 Polish

Committers: 3

v7.2.1 (2021-03-18)

💅 Polish

  • wdio-cli
  • wdio-appium-service, wdio-applitools-service, wdio-cli, wdio-devtools-service, wdio-jasmine-framework
  • wdio-types, webdriverio
    • #6599 Use a flat namespace for selenium options for finding WebDriver Bidi endpoint (@BorisOsipov)

📝 Documentation

Committers: 2

v7.2.0 (2021-03-16)

🚀 New Feature

🐛 Bug Fix

💅 Polish

  • webdriverio
    • #6574 docs(typings): #6458 use a more suitable return type for waitUntil (@iamkenos)

📝 Documentation

Committers: 4

v7.1.2 (2021-03-11)

🐛 Bug Fix

  • wdio-cli, wdio-cucumber-framework, wdio-jasmine-framework, wdio-local-runner, wdio-mocha-framework
  • wdio-junit-reporter
  • wdio-cli
    • #6573 bugfix: #6569 only install tagged version if requested spec doesnt match semver (@iamkenos)

Committers: 3

v7.1.1 (2021-03-09)

🚀 New Feature

  • wdio-types, webdriverio

💅 Polish

  • wdio-jasmine-framework, webdriverio
    • #6558 docs(typings): #6549 improve typings using overloads - getLocation, getSize (@iamkenos)

📝 Documentation

  • wdio-types
    • #6507 Fix unable to use nativeWebTap in capabilities (@lukyth)

Committers: 3

v7.1.0 (2021-03-05)

🚀 New Feature

🐛 Bug Fix

  • wdio-allure-reporter
    • #6541 Fix test status in allure when several steps are passed and other skipped (@lacell75)
    • #6533 Closes #6531 return correct test status in allure report (@lacell75)

Committers: 2

v7.0.9 (2021-03-01)

🐛 Bug Fix

💅 Polish

📝 Documentation

Committers: 6

v7.0.8 (2021-02-25)

🚀 New Feature

  • devtools
    • #6371 Added goog:chromeOption for passing the debugging port to the devtools chrome launcher (Closes #6370) (@jamesmortensen)

🐛 Bug Fix

📝 Documentation

🏠 Internal

  • Other
    • #6504 Fix failed test from conflicting node type definition (@lukyth)
  • webdriverio

Committers: 7

v7.0.7 (2021-02-18)

🐛 Bug Fix

📝 Documentation

🏠 Internal

  • wdio-cucumber-framework

Committers: 3

v7.0.6 (2021-02-17)

🐛 Bug Fix

📝 Documentation

Committers: 2

v7.0.5 (2021-02-16)

🐛 Bug Fix

📝 Documentation

🏠 Internal

  • devtools, wdio-devtools-service, webdriverio

Committers: 2

v7.0.4 (2021-02-15)

🐛 Bug Fix

  • wdio-cucumber-framework
    • #6441 Ensure that 'title' property is passed down by cucumber framework to reporters (@rickschubert)
  • wdio-cli, wdio-local-runner, wdio-types
    • #6373 @wdio/cli: Ensure watch mode re-runs all specs when the --spec command line option is set and a filesToWatch file is added or changed (@kohlmannj)

💅 Polish

📝 Documentation

🏠 Internal

Committers: 6

v7.0.3 (2021-02-12)

🐛 Bug Fix

Committers: 1

v7.0.2 (2021-02-11)

💅 Polish

  • wdio-config, wdio-runner, wdio-sync, wdio-types, webdriver, webdriverio

Committers: 1

v7.0.1 (2021-02-09)

💅 Polish

🏠 Internal

  • wdio-allure-reporter, wdio-appium-service, wdio-applitools-service, wdio-browserstack-service, wdio-concise-reporter, wdio-crossbrowsertesting-service, wdio-cucumber-framework, wdio-devtools-service, wdio-dot-reporter, wdio-firefox-profile-service, wdio-jasmine-framework, wdio-junit-reporter, wdio-local-runner, wdio-sauce-service, wdio-selenium-standalone-service, wdio-spec-reporter, wdio-sumologic-reporter, wdio-testingbot-service

Committers: 2

v7.0.0 (2021-02-09)

💥 Breaking Change

  • #6302 TypeScript Rewrite
    • As we have moved the complete code base to TypeScript we have rewritten the way how WebdriverIO provides type definitions to you. This has been more or less and internal change that should only affect users using TypeScript and having custom command definitions. In order to have proper type support now you need to add webdriverio/sync to your list of types, e.g.:

      // tsconfig.json
      "types": [
        "node",
        "webdriverio/sync",
        "@wdio/mocha-framework"
      ],

      Custom commands can now be added like this:

      declare global {
          namespace WebdriverIO {
              interface Browser {
                  browserCustomCommand: (arg: number) => void
              }
          }
      }
      browser.browserCustomCommand(42)

      We do not recommend to specify webdriverio or @wdio/sync in there anymore. For more information visit our updated docs on TypeScript Integration.

    • If you use WebdriverIO in multiremote mode to get proper typing you should use the multiremote global variable

    • Alongside with this change we also equipped the testrunner to auto-compile your configuration if TypeScript is detected, this allows to leverage type safety in your WDIO configuration without any additional setup (big thanks for this contribution goes to @r4j4h) 👏 With that you also don't need ts-node/register to be required in your Mocha, Jasmine or Cucumber options, e.g.:

      jasmineOpts: {
          - requires: ['ts-node/register', 'tsconfig-paths/register'],
          + requires: ['tsconfig-paths/register'],
      },
      
    • It is required to have TypeScript v4 or higher

  • #6309 Cucumber Framework update to v7
    • We have updated our Cucumber integration to use Cucumber v7
    • To provide proper type safety we updated the Cucumber hooks to match original Cucumber types
  • #6276 Google Lighthouse Updates
    • We have updated Google Lighthouse to support the latest performance metrics introduced by Google Lighthouse v7

    • There are no default environment changes when running performance tests anymore. If you want to emulate a mobile user (which is a recommended practice) you have to pass these information when running enablePerformanceAudits, e.g.:

      browser.emulateDevice('iPhone X')
      browser.enablePerformanceAudits({
          networkThrottling: 'Regular 3G',
          cpuThrottling: 4,
          cacheEnabled: false,
          formFactor: 'mobile'
      })
    • We added formFactor to the EnablePerformanceAuditsOptions as it has been added to Lighthouse v7 as well, it tweaks the performance results based on which environment you run your tests in to give certain performance factors more weight

    • We added a new command test PWA apps based on Google Lighthouse audits, e.g.:

      const result = browser.checkPWA()
      expect(result.passed).toBe(true)

      Checks the following PWA criterias:

      We have purposely not added the complete set of audits as they require data that can only be captured through additional automation commands. These could interfer with further test processes and skew results and create flakiness which would make integrating these commands difficult.

  • #3407 Automatically run worker with Babel if setup
    • In order to improve the onboarding experience we will now automatically compile the configuration and your test files using Babel or TypeScript
    • This will allow you to have import statements in your config file without any additional setup
  • #6054 Validate W3C Capabilities
    • With the WebDriver protocol being a recommended standard since 2018 we want to move away from usage of outdated capability sets that might confuse WebDriver endpoints
    • This breaking change will throw an error if we detect invalid capabilities when user use a mixture of clear W3C capabilities and outdated JSONWireProtocol capabilities, e.g.:
      capabilities: {
          browserName: 'Chrome',
          platform: 'Windows 10', // invalid JSONWire Protocol capability
          'goog:chromeOptions': { ... }
      }
      will fail this check because vendor capabilities have been used which were introduced by WebDriver while at the same time a JSONWireProtocol capability (platform) has been used too
  • #6236 Update fibers to v5 and drop Node.js support for v10
    • We recommend to continue to use Node.js v12 and higher)

🚀 New Feature

  • #6311 Get Test Coverage Report
    • The @wdio/devtools-service now offers to capture the code coverage of your JavaScript application files. This can help you to identify whether you should write more e2e tests or not. To enable the feature you have to enable it by setting the coverageReporter option for the service:
      // wdio.conf.js
      services: [
          ['devtools' {
              coverageReporter: {
                  enable: true,
                  type: 'html',
                  logDir: __dirname + '/coverage'
              }
          }]
      ]
    • You can also assert the code coverage within your tests using the new getCoverageReport command, e.g.:
      const coverage = browser.getCoverageReport()
      expect(coverage.lines.total).toBeAbove(0.9)
      expect(coverage.statements.total).toBeAbove(0.9)
      expect(coverage.functions.total).toBeAbove(0.9)
      expect(coverage.branches.total).toBeAbove(0.9)

🏠 Internal

  • We have renamed our main development branch from master to main
    • As the WebdriverIO community is committed to be an inclusive community we join the global effort to remove all unnecessary references to slavery and other non-inclusive terms.

💅 Polish

  • #6392 Add Sauce Labs sharable report links in @wdio/spec-reporter

📝 Documentation

  • New Website Design and Documentation Overhaul
    • The project maintainers are constantly striving to provide better documentation and clear descriptions on commands and WebdriverIO functionality. We the v7 release we now also publish an overhauled website design and re-organisation of our docs.
    • You will continue to find the old docs in their respective places: