ignore method

Class: AppiumCheckSettingsPlatform: AppiumLanguage: Java SDK:

Add one or more ignore regions to this target (i.e. areas whose content matches anything).

Syntax

eyes.check(Target.window().ignore(region, regions))
eyes.check(Target.window().ignore(regions))
eyes.check(Target.window().ignore(element, elements))
eyes.check(Target.window().ignore(elements))

Parameters

region
Type:Region
An object that defines a rectangular area in the window.
regions
Type:Region...
Zero or more additional rectangle objects separated by commas or passed as an array.
regions
Type:Region[]
An array of Region objects that defines rectangular areas in the checked image.
element
Type:WebElement
An object whose position and dimensions defines the region.
elements
Type:WebElement...
Zero or more additional objects, each of which defines an isolated region in the window.
elements
Type:WebElement[]
An array of objects, each of which defines a region.

Return value

Type: ICheckSettings
The value returned is the object that called the method. You can use it to call other methods supported by the object class.

Remarks

You may call this method multiple times in a given chain.

Ignore regions should not overlap each other or other types of regions such as floating or match level regions.