Skip to main content

Target class

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 CheckSettings object using one of the factory methods defined by this class, you can configure the checkpoint by calling other methods from the CheckSettings class, chaining them one after the other using the '.' operator.

Using statement

using Applitools.Common;

Region method

Syntax

eyes.Check(Target.Region(rect))

Note: This method is a static method.

Parameters

rect

Type: Rectangle

An object that defines a rectangular area in the window.

Return value

Type: ICheckSettings

Window method

Syntax

eyes.Check(Target.Window())

Note: This method is a static method.

Parameters

This method does not take any parameters.

Return value

Type: ICheckSettings