Instance Property

horizontalSizeClass

The horizontal size class of the element.

Required.

Declaration

var horizontalSizeClass: XCUIElement.SizeClass { get }

See Also

Size

var frame: CGRect

The frame of the element in the screen coordinate space.

Required.

var verticalSizeClass: XCUIElement.SizeClass

The vertical size class of the element.

Required.

enum XCUIElement.SizeClass

Describes the available user interface size classes.