Instance Property

frame

The frame of the element in the screen coordinate space.

Required.

Declaration

var frame: CGRect { get }

See Also

Size

var horizontalSizeClass: XCUIElement.SizeClass

The horizontal size class of the element.

Required.

var verticalSizeClass: XCUIElement.SizeClass

The vertical size class of the element.

Required.

enum XCUIElement.SizeClass

Describes the available user interface size classes.