Contents

XCUICoordinate

A location on screen relative to a UI element.

Declaration

@MainActor class XCUICoordinate

Overview

Coordinates are dynamic, like the elements to which they refer, and may compute different screen locations at different times, or be invalid if the element they reference doesn’t exist.

Topics

Getting coordinate properties

Moving the pointer

Clicking

Scrolling

Tapping and pressing

Performing gestures

Creating relative coordinates

See Also

UI elements