Releases: webdriverio/visual-testing
@wdio/[email protected]
@wdio/[email protected]
@wdio/[email protected]
@wdio/[email protected]
Major Changes
-
a924dfc: # 🚀 New Feature
Sometimes it can be hard to find an element in a mobile native app or desktop site, with an interactable Canvas, with the default WebdriverIO selectors. In that case, it would be nice if you would be able to use something like OCR (Optical Character Recognition) to interact with elements on your device/screen.
The new
@wdio/ocr-service
service provides you with the option to interact with elements based on visible text. It will provide multiple commands to:- wait
- search
- and interact
with an element, all based on text.
The following commands will be added
ocrGetText
ocrGetElementPositionByText
ocrWaitForTextDisplayed
ocrClickOnText
ocrSetValue
A CLI command will also be provided to pre-check text received from the image, this can be run by using the command
npx ocr-service
. For a demo check this videoocr-service-cli.mp4
Committers: 1
- Wim Selles (@wswebcreation)
@wdio/[email protected]
🐛 Bug fix
- #323: Replaced file to filename to match whats running on jasmine-core
- 7713c13: Fix beforeTest incl types
Committers: 2
- Sia (siajangani)
- Wim Selles (@wswebcreation)
@wdio/[email protected]
Patch Changes
- 4dcfeea: add missing dependency and update deps
[email protected]
Minor Changes
- All logs will now be using the WDIO service logger instead of the console output.
- due to removing the
logLevel
property from the service options diff image are not stored if thelogLevel
is set todebug
. To still get the Image Diffs for all checks you can provide the option--store-all-diffs
through the cli like this
npm run wdio wdio.conf.ts -- --store-all-diffs
@wdio/[email protected]
Minor Changes
- c9fab82: All logs will now be using the WDIO service logger instead of the console output.
- due to removing the
logLevel
property from the service options diff image are not stored if thelogLevel
is set todebug
. To still get the Image Diffs for all checks you can provide the option--store-all-diffs
through the cli like this
npm run wdio wdio.conf.ts -- --store-all-diffs
Patch Changes
- Updated dependencies [c9fab82]
[email protected]
Patch Changes
-
f878cab: # 🚀 Feature
- Add device support for Storybook, it can be used like this
npx wdio tests/configs/wdio.local.desktop.storybook.conf.ts --storybook --devices="iPhone 14 Pro Max","Pixel 3 XL"
Committers: 1
- Wim Selles (@wswebcreation)
@wdio/[email protected]
Patch Changes
-
f878cab: # 🚀 Feature
- Add device support for Storybook, it can be used like this
npx wdio tests/configs/wdio.local.desktop.storybook.conf.ts --storybook --devices="iPhone 14 Pro Max","Pixel 3 XL"
Committers: 1
- Wim Selles (@wswebcreation)
-
Updated dependencies [f878cab]