Skip to content

Commit 06cadef

Browse files
github-actions[bot]wdio-botwswebcreation
authored
Version Packages (#340)
* chore: release [skip ci] * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: WebdriverIO Release Bot <bot@webdriver.io> Co-authored-by: Wim Selles <wim@wswebcreation.nl>
1 parent a924dfc commit 06cadef

File tree

5 files changed

+39
-35
lines changed

5 files changed

+39
-35
lines changed

.changeset/two-eels-mate.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/ocr-service/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
11
# @wdio/ocr-service
2+
3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- a924dfc: # 🚀 New Feature
8+
9+
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](https://webdriver.io/docs/selectors). In that case, it would be nice if you would be able to use something like OCR ([Optical Character Recognition](https://en.wikipedia.org/wiki/Optical_character_recognition)) to interact with elements on your device/screen.
10+
11+
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:
12+
13+
- wait
14+
- search
15+
- and interact
16+
17+
with an element, all based on text.
18+
19+
The following commands will be added
20+
21+
- `ocrGetText`
22+
- `ocrGetElementPositionByText`
23+
- `ocrWaitForTextDisplayed`
24+
- `ocrClickOnText`
25+
- `ocrSetValue`
26+
27+
A CLI command will also be provided to pre-check text received from the image. For a demo check this video
28+
29+
https://github.com/webdriverio/visual-testing/assets/11979740/6e4677ba-1463-4d6e-98b0-9a3bf70b702f

packages/ocr-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@wdio/ocr-service",
33
"author": "Wim Selles - wswebcreation",
44
"description": "A WebdriverIO service that is using Tesseract OCR for Desktop/Mobile Web and Mobile Native App tests.",
5-
"version": "0.1.0",
5+
"version": "1.0.0",
66
"license": "MIT",
77
"homepage": "https://webdriver.io/docs/visual-testing",
88
"repository": {

packages/visual-service/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @wdio/visual-service
22

3+
## 4.1.3
4+
5+
### Patch Changes
6+
7+
# 🐛 Bug Fixes
8+
9+
- Fixes https://github.com/webdriverio/visual-testing/issues/286
10+
- Fixes https://github.com/webdriverio/visual-testing/issues/333
11+
312
## 4.1.2
413

514
### Patch Changes

packages/visual-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@wdio/visual-service",
33
"author": "Wim Selles - wswebcreation",
44
"description": "Image comparison / visual regression testing for WebdriverIO",
5-
"version": "4.1.2",
5+
"version": "4.1.3",
66
"license": "MIT",
77
"homepage": "https://webdriver.io/docs/visual-testing",
88
"repository": {

0 commit comments

Comments
 (0)