element method

Class: TargetPlatform: XCUILanguage: Objective-C SDK:

Configure checkWithTag to verify only the bounding region of an element in the display.

Syntax

Call syntax


[eyes checkWithTag:@"Check element" andSettings:[Target element:element]]

Declaration

(XCUICheckSettings *)element:(XCUIElement *)element

Parameters

element
Type:XCUIElement*
The element whose region should be visually checked.

Return value

Type: XCUICheckSettings*