layout method

Class: SeleniumCheckSettingsPlatform: Selenium 4Language: JavaScript SDK:

If called without parameters, sets the match level for this target to Layout. Otherwise, defines that a match level of Layout should be used for the regions passed as parameters.

Syntax


eyes.check(Target.window().layout())

Parameters

This method does not take any parameters.

Return value

Type: SeleniumCheckSettings
The value returned is the object that called the method. You can use it to call other methods supported by the object class.

Remarks

This method sets the default match level for this target. This overrides the hard-coded default and the default match level defined by using eyes$setmatchlevel.

For a given target you may call only one of the following methods that set a target default match level:
To set a match level for a one or more regions within a target use one of the following methods:

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.