Instance Method


Sends a tap event at the coordinate.


func tap()

See Also

Tapping and Pressing

func doubleTap()

Sends a double tap event at the coordinate.

func press(forDuration: TimeInterval)

Sends a long press gesture at the coordinate, holding for the specified duration.

func press(forDuration: TimeInterval, thenDragTo: XCUICoordinate)

Initiates a press-and-hold gesture at the coordinate, then drags to another coordinate.