getMatchLevel method

Class: ConfigurationPlatform: Selenium 4Language: JavaScript SDK:

Use this method to retrieve the default match level to be used for subsequent checkpoints in the test.

Syntax


let configval = config.getMatchLevel();

Parameters

This method does not take any parameters.

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/enums-gen/enum-global-matchlevel-selenium4-javascript.htm'>MatchLevel</a>

Remarks

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.