Target class

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

Require statement

const {Target} = require('@applitools/eyes-selenium');
	

Methods

frame()
Configure check to match an iframe in a window or another iframe.
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.