ignore method

Class: XCUICheckSettingsPlatform: XCUILanguage: Objective-C SDK:

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

Syntax

Call syntax

id<CheckSettingsProtocol> target =  [ obj ignore  : regions   ]
;

Declaration

(id<CheckSettingsProtocol>)ignore:(NSArray<Region *> *)regions

Parameters

regions
Type:NSArray<Region *>*

Return value

Type: id<CheckSettingsProtocol>
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.