Target class

Platform: EspressoLanguage: Java SDK:
This class provides methods that are used to define the top level target (the entire window, region, element, frame, etc.) for the check method.
Once you create a EspressoCheckSettings object using one of the factory methods defined by this class, you can configure the checkpoint by calling other methods from the EspressoCheckSettings class, chaining them one after the other using the '.' operator.

Import statement

import com.applitools.eyes.android.espresso.fluent.Target;
	

Methods

fragment()
Configure Eyes.check to match a fragment.
googleMap()
Configure Eyes.check to match a GoogleMap.
region()
Configure check to match a region or element in a window, instead of the entire window.
window()
Configure check to match the entire window.