Next-gen browser and mobile automation test framework for Node.js
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 3 years ago
wdio-types
, webdriverio
wdio-jasmine-framework
, webdriverio
Published by github-actions[bot] over 3 years ago
webdriverio
wdio-allure-reporter
Published by github-actions[bot] over 3 years ago
webdriverio
devtools
, webdriverio
webdriverio
wdio-sauce-service
Published by github-actions[bot] over 3 years ago
devtools
wdio-sumologic-reporter
webdriverio
wdio-devtools-service
webdriverio
Published by github-actions[bot] over 3 years ago
wdio-cli
, wdio-config
, wdio-runner
, wdio-types
devtools
, wdio-types
wdio:devtoolsOptions
(@christian-bromann)wdio-cli
, wdio-config
, wdio-jasmine-framework
, wdio-junit-reporter
jasmineNodeOpts
into jasmineOpts
(@christian-bromann)wdio-types
Published by github-actions[bot] over 3 years ago
wdio-cucumber-framework
Published by github-actions[bot] over 3 years ago
wdio-sauce-service
devtools
, wdio-devtools-service
, webdriverio
Published by github-actions[bot] over 3 years ago
wdio-cucumber-framework
wdio-cli
, wdio-local-runner
, wdio-types
wdio-junit-reporter
devtools
, wdio-allure-reporter
wdio-runner
, webdriverio
wdio-cli
, wdio-cucumber-framework
, webdriverio
wdio-junit-reporter
Published by github-actions[bot] over 3 years ago
wdio-types
, webdriver
, webdriverio
webdriver
package (@christian-bromann)webdriverio
ScrollIntoViewOptions
in scrollIntoView
(@christian-bromann)Published by github-actions[bot] over 3 years ago
wdio-config
, wdio-runner
, wdio-sync
, wdio-types
, webdriver
, webdriverio
detectBackend
and move it to the webdriverio
package (@christian-bromann)Published by github-actions[bot] over 3 years ago
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
Published by github-actions[bot] over 3 years ago
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)
It is required to have TypeScript v4 or higher
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.
import
statements in your config file without any additional setupcapabilities: {
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@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'
}
}]
]
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)
master
to main
@wdio/spec-reporter
Published by github-actions[bot] over 3 years ago
See https://github.com/webdriverio/webdriverio/releases/tag/v7.0.0 for full release log.
Published by github-actions[bot] over 3 years ago
See https://github.com/webdriverio/webdriverio/releases/tag/v7.0.0 for full release log.
Published by github-actions[bot] over 3 years ago
See https://github.com/webdriverio/webdriverio/releases/tag/v7.0.0 for full release log.
Published by github-actions[bot] over 3 years ago
See https://github.com/webdriverio/webdriverio/releases/tag/v7.0.0 for full release log.
Published by github-actions[bot] almost 4 years ago
See https://github.com/webdriverio/webdriverio/releases/tag/v7.0.0 for full release log.
Published by github-actions[bot] almost 4 years ago
wdio-browserstack-service
wdio-config
wdio-cli
wdio-sauce-service
webdriver
, webdriverio
Published by github-actions[bot] almost 4 years ago
devtools
, wdio-protocols
wdio-sauce-service
wdio-browserstack-service
, webdriver
Published by github-actions[bot] almost 4 years ago
wdio-testingbot-service