withName method

Class: SeleniumCheckSettingsPlatform: Selenium 4Language: JavaScript SDK:

Assigns a name to the checkpoint.

Syntax


eyes.check(Target.window().withName(name))

Parameters

name
Type:string
The name to be given to this check point.

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-checksettings-selenium4-javascript.htm'>SeleniumCheckSettings</a>
The value returned is the object that called the method. You can use it to call other methods supported by the object class.

Remarks

You may only call this method once in a given chain.