@appium/images-plugin 4.2.6 → 4.2.7

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.
Files changed (2) hide show
  1. package/README.md +13 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -5,10 +5,10 @@
5
5
  [![NPM version](http://img.shields.io/npm/v/@appium/images-plugin.svg)](https://npmjs.org/package/@appium/images-plugin)
6
6
  [![Downloads](http://img.shields.io/npm/dm/@appium/images-plugin.svg)](https://npmjs.org/package/@appium/images-plugin)
7
7
 
8
- ## Features
8
+ This plugin provides two features for image-based testing:
9
9
 
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.
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.
10
+ 1. [**Image Comparison**](./docs/image-comparison.md) - A new Appium endpoint that allows accepts two images and allows comparing them in various ways
11
+ 2. [**Finding Elements by Image**](./docs/find-by-image.md) - Using a template image, find a matching screen region of an app, and interact with it using standard Appium element commands
12
12
 
13
13
  ## Installation
14
14
 
@@ -16,12 +16,21 @@
16
16
  appium plugin install images
17
17
  ```
18
18
 
19
- The plugin must be explicitly activated when launching the Appium server:
19
+ ## Usage
20
+
21
+ Like all plugins, this plugin must be explicitly activated when launching the Appium server:
20
22
 
21
23
  ```
22
24
  appium --use-plugins=images
23
25
  ```
24
26
 
27
+ Once the plugin is running, you can use its new and modified endpoints as described in the
28
+ aforementioned guides.
29
+
30
+ ## API
31
+
32
+ [Refer to the Appium documentation](https://appium.io/docs/en/latest/reference/api/plugins/#images-plugin).
33
+
25
34
  ## License
26
35
 
27
36
  Apache-2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appium/images-plugin",
3
- "version": "4.2.6",
3
+ "version": "4.2.7",
4
4
  "description": "Plugin for working with images and image elements in Appium",
5
5
  "keywords": [
6
6
  "automation",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@appium/opencv": "4.1.6",
44
- "@appium/support": "7.2.4",
44
+ "@appium/support": "7.2.5",
45
45
  "lru-cache": "11.5.1",
46
46
  "sharp": "0.35.1"
47
47
  },
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "213efd0fa400bdd0156b00ad2c45f8ef005a01ca"
62
+ "gitHead": "e6b583a2094f7919ef27b0dc28ebf42b3184852b"
63
63
  }