Breaking changes
.visible()is renamed to.displayed()to be in line with new WebdriverIO wording- Requires NodeJS 8 or newer
Added feature
- Compatability with WebdriverIO v5
- TypeScript types are now shipped directly with the
chai-webdriveriopackage
Bug Fixes:
.focus(),.text(),.value()exssertions do now wait until [at least one] selected element matches the assertion, not only until [at least one] element with the given selector exists.
Added feature:
- added
enabledassertion
Bug Fixes:
- Use
waitForVisibleinstead ofwaitForExistinvisible - Use
waitUntilinstead ofwaitForExistincount
Bug Fixes:
- fix error in
visibleassertion introduced in0.4.0
Breaking Changes:
- elementExists not requires 4 arguments instead of 3, to account for defaultWait time.
- all assertions except
therewill now throw an error when the element doesn't exist, even when negated (valueandfocusdid not fail when negated, previously)
Added features:
- added
defaultWaitconfiguration to makeimmediatelywork as intended- this is provided to the main initializer (
require('chai-webdriverio').default) which now accepts anoptionsobject as the last (optional) argument
- this is provided to the main initializer (
Changelog not present up to this version (see commit history)