mirror of
https://github.com/appium/appium.git
synced 2026-10-22 00:45:27 +08:00
5c1d20517c
- appium@2.3.0 - @appium/base-driver@9.4.4 - @appium/base-plugin@2.2.25 - @appium/doctor@2.0.30 - @appium/docutils@1.0.1 - @appium/driver-test-support@0.4.19 - @appium/execute-driver-plugin@3.0.22 - @appium/fake-driver@5.3.0 - @appium/fake-plugin@3.1.29 - @appium/images-plugin@3.0.0 - @appium/opencv@3.0.0 - @appium/plugin-test-support@0.3.26 - @appium/relaxed-caps-plugin@1.0.6 - @appium/schema@0.5.0 - @appium/strongbox@0.3.2 - @appium/support@4.1.11 - @appium/test-support@3.0.29 - @appium/types@0.15.0 - @appium/universal-xml-plugin@1.0.16
Appium Images Plugin
This is an official Appium plugin designed to facilitate image comparison, visual testing, and image-based functional testing.
Features
- Image Comparison (docs) - A new Appium command and route that allows sending in two different images and comparing them in various ways.
- Finding Elements by Image (docs) - Using a template image, find a matching screen region of an app and interact with it via standard Appium element semantics.
Prerequisites
- Appium Server 2.0+
Installation - Server
Install the plugin using Appium's plugin CLI:
appium plugin install images
Installation - Client
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.
Activation
The plugin will not be active unless turned on when invoking the Appium server:
appium --use-plugins=images
Usage
Check the docs links above for usage for each of the features provided.