VisualLocatorSettings class

Platform: Selenium 3Language: Python SDK:
Use the methods of this class to extend visual locators created using VisualLocator by chaining them to each other using a fluent sytle API.
After you call one of the methods of VisualLocator you can call methods in this class to add more locator names and to specify how many regions to return to Eyes.locate.

Import statement

from applitools.core import VisualLocatorSettings
	

Methods

all()
To return all graphic instances defined by each locator, add this method to the chain of fluent VisualLocatorSettings method calls.
first()
To return only one graphic instance defined by each locator, add this method to the chain of fluent VisualLocatorSettings method calls.
name()
Use this method to specify a single visual locator name.
names()
Use this method to specify a list of visual locator names.