Target class

Platform: Selenium 3Language: JavaScript SDK:
This class provides methods that are used to define and configure the target for the check method.
Once you create a Target object using one of the factory methods defined by this class, you can configure the checkpoint by calling other methods from the Target class, chaining them one after the other using the '.' operator.

Methods

floating()
Add one more floating region to this target.
frame()
Configure check to match an iframe in a window or another iframe.
fully()
Defines if the screenshot for this target should be extended to contain the entire element or region being checked, even if it extends the borders of the viewport.
ignore()
Add one or more ignore regions to this target (i.e. areas whose content matches anything).
ignoreCaret()
Use this method to tell Eyes that for this target it should detect mismatch artifacts caused by a blinking cursor and not report them as mismatches.
matchLevel()
Use this method to set the default match level (the type of matching) to use for this target when matching the captured image to the baseline image.
region()
Configure check to match a region or element in a window, instead of the entire window.
timeout()
Defines the timeout to use when acquiring and comparing screenshots for this target.
window()
Configure check to match the entire window.