matchLevel method
Use this method to set the default match level (the type of matching) to use for this target when matching the captured image to the baseline image.
Syntax
eyes.check(Target.matchLevel(matchLevel))
Parameters
- matchLevel
- Type:MatchLevel
- Available match level values are:
- None
- Strict
- Layout
- Content
- Exact
Return value
- Type: Target
- The value returned is the object that called the method. You can use it to call other methods supported by the object class.
Remarks
The value provided here overrides the default match level, or the global value set for this target using
Eyes.setMatchLevel.
For a full description of the affect of each match levels and the different ways to apply them to tests, checkpoints and regions, How to use Eyes match levels.