@appium/images-plugin 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -17
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,35 +1,27 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @appium/images-plugin
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Appium plugin for image comparison, visual testing, and image-based functional testing
|
|
4
|
+
|
|
5
|
+
[](https://npmjs.org/package/@appium/images-plugin)
|
|
6
|
+
[](https://npmjs.org/package/@appium/images-plugin)
|
|
4
7
|
|
|
5
8
|
## Features
|
|
6
9
|
|
|
7
10
|
1. **Image Comparison** ([docs](./docs/image-comparison.md)) - A new Appium command and route that allows sending in two different images and comparing them in various ways.
|
|
8
11
|
2. **Finding Elements by Image** ([docs](./docs/find-by-image.md)) - Using a template image, find a matching screen region of an app and interact with it via standard Appium element semantics.
|
|
9
12
|
|
|
10
|
-
##
|
|
11
|
-
* Appium Server 2.0+
|
|
12
|
-
|
|
13
|
-
## Installation - Server
|
|
14
|
-
|
|
15
|
-
Install the plugin using Appium's plugin CLI:
|
|
13
|
+
## Installation
|
|
16
14
|
|
|
17
15
|
```
|
|
18
16
|
appium plugin install images
|
|
19
17
|
```
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
No special action is needed to make the features available in the various Appium clients, as this plugin used to be a core Appium feature and its commands are already supported in the official clients.
|
|
24
|
-
|
|
25
|
-
## Activation
|
|
26
|
-
|
|
27
|
-
The plugin will not be active unless turned on when invoking the Appium server:
|
|
19
|
+
The plugin must be explicitly activated when launching the Appium server:
|
|
28
20
|
|
|
29
21
|
```
|
|
30
22
|
appium --use-plugins=images
|
|
31
23
|
```
|
|
32
24
|
|
|
33
|
-
##
|
|
25
|
+
## License
|
|
34
26
|
|
|
35
|
-
|
|
27
|
+
Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/images-plugin",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Plugin for working with images and image elements in Appium",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"test:unit": "mocha \"./test/unit/**/*.spec.js\""
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@appium/opencv": "^3.0.
|
|
43
|
-
"@appium/support": "^4.1
|
|
42
|
+
"@appium/opencv": "^3.0.2",
|
|
43
|
+
"@appium/support": "^4.2.1",
|
|
44
44
|
"lodash": "4.17.21",
|
|
45
|
-
"lru-cache": "10.
|
|
46
|
-
"sharp": "0.33.
|
|
45
|
+
"lru-cache": "10.2.0",
|
|
46
|
+
"sharp": "0.33.2",
|
|
47
47
|
"source-map-support": "0.5.21"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"appium": "^2.0.0"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
|
-
"node": "^
|
|
53
|
+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
|
54
54
|
"npm": ">=8"
|
|
55
55
|
},
|
|
56
56
|
"appium": {
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "9cc598a92c2f0d2dfbf40d54698f0ee39b50e4dc"
|
|
64
64
|
}
|