The information in this topic may be out of date. The current SDK reference guide has moved here.
VisualLocatorSettings class
Platform: Selenium 4Language: JavaScript SDK:
Use the fields of this object to defined the locator names and whether all instances should be found or only the first.
Properties
- firstOnlyType:boolean
- To return only one graphic instance defined by each locator, add this field to the settings passed, with a value of true . To return only all the graphic instance defined by each locator, add this field to the settings passed, with a value of false .
- locatorNamesType:string[]
- Use this field to specify a list of visual locator names.