locatorNames property

Class: VisualLocatorSettingsPlatform: PlaywrightLanguage: JavaScript SDK:

Use this field to specify a list of visual locator names.

Syntax

obj = { locatorNames: [value1_string, value2_string] };

Type:string[]